Skip to content

Fix angie ssl-listen pick, expose cert SAN domains #106

Fix angie ssl-listen pick, expose cert SAN domains

Fix angie ssl-listen pick, expose cert SAN domains #106

Workflow file for this run

name: CI
on:
push:
branches: [master]
tags: ["v*"]
pull_request:
branches: [master]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Test
run: go test -race ./...
env:
GOEXPERIMENT: jsonv2
- name: Vet
run: go vet ./...
env:
GOEXPERIMENT: jsonv2
- name: Staticcheck
uses: dominikh/staticcheck-action@v1
with:
version: "latest"
install-go: false
env:
GOEXPERIMENT: jsonv2
- name: Build
run: go build -o /dev/null ./cmd/topsrv
env:
GOEXPERIMENT: jsonv2
- name: GoReleaser check
uses: goreleaser/goreleaser-action@v6
with:
args: check
- name: ShellCheck
uses: ludeeus/action-shellcheck@2.0.0
with:
scandir: scripts
release:
needs: test
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/v')
permissions:
contents: write
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
- uses: anchore/sbom-action/download-syft@v0
- name: Release
uses: goreleaser/goreleaser-action@v6
with:
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GOEXPERIMENT: jsonv2