mirror of
https://blitiri.com.ar/repos/chasquid
synced 2025-12-17 14:37:02 +00:00
github: Use the latest Go version for govulncheck
govulncheck will complain when run on older Go versions that are known to have security issues. Github setup-go action has a cache for the "latest" go version and sometimes the latest isn't really used. So sometimes, this generates false positives because govulncheck is run on an older Go version, which is not a problem in chasquid itself. To prevent those false positives, this patch asks the Github CI to always check for the latest Go version when running govulncheck.
This commit is contained in:
1
.github/workflows/govulncheck.yml
vendored
1
.github/workflows/govulncheck.yml
vendored
@@ -18,6 +18,7 @@ jobs:
|
||||
- uses: actions/setup-go@v3
|
||||
with:
|
||||
go-version: ">=1.19.2"
|
||||
check-latest: true
|
||||
- name: install govulncheck
|
||||
run: go install golang.org/x/vuln/cmd/govulncheck@latest
|
||||
- name: run govulncheck
|
||||
|
||||
Reference in New Issue
Block a user