name: CI on: push: tags-ignore: - '**' branches: - main pull_request: types: - opened - synchronize concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} cancel-in-progress: true jobs: test: name: Test strategy: fail-fast: false matrix: go: ['1.14', '1.15', '1.16', '1.21', '1.22', '1.23'] runs-on: ubuntu-latest steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: fetch-depth: 0 - uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0 with: go-version: ${{ matrix.go }} - name: Test run: go vet . && go build . && go test -count=1 -covermode=count -coverprofile=coverage.out . env: GODEBUG: x509sha1=1 # enable SHA1; it's used in the older fixtures