1
0
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:
Alberto Bertogli
2022-11-12 18:31:57 +00:00
parent f5949a79f1
commit 6896b221e8

View File

@@ -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