Skip to content

Commit

Permalink
workflows: Use go 1.21.x for govuln tests
Browse files Browse the repository at this point in the history
go vuln doesn't support 1.20 anymore. It isn't required for tests to
pass, so bump it to 1.21 even though we are still targeting 1.20,
hopefully any errors it finds will be helpful in the future.

See:
* golang/go#68034
* golang/vuln@f35edf8
  • Loading branch information
bcl committed Jun 24, 2024
1 parent b5901f5 commit f18b326
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: 1.20.x
go-version: 1.21.x
- name: Install govulncheck
run: go install golang.org/x/vuln/cmd/govulncheck@latest
- name: Run govulncheck
Expand Down

0 comments on commit f18b326

Please sign in to comment.