Bump github.com/stretchr/testify from 1.8.2 to 1.9.0 #182
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Go | |
on: | |
push: | |
branches: [ v3, main ] | |
pull_request: | |
branches: [ v3, main ] | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
GO_VERSION: | |
- "1.22.x" | |
- "1.21.x" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
persist-credentials: false | |
- name: Set up Go ${{ matrix.GO_VERSION }} | |
uses: actions/setup-go@v5 | |
with: | |
go-version: "${{ matrix.GO_VERSION }}" | |
- name: Build | |
run: go build -v ./... | |
- name: Test | |
run: go test -v ./... | |
govulncheck: | |
strategy: | |
matrix: | |
GO_VERSION: | |
# We only need to test vulns on one version | |
- "1.22.x" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
persist-credentials: false | |
- name: Set up Go ${{ matrix.GO_VERSION }} | |
uses: actions/setup-go@v5 | |
with: | |
# When Go produces a security release, we want govulncheck to run | |
# against the most recently released Go version. | |
check-latest: true | |
go-version: "${{ matrix.GO_VERSION }}" | |
- name: Run govulncheck | |
run: go run golang.org/x/vuln/cmd/govulncheck@latest ./... |