Update lint govulncheck to use source mode

Replaces binary mode scan of 'bin/gh' with source mode scan of all packages using govulncheck.
This commit is contained in:
Kynan Ware 2025-11-03 12:54:47 -07:00
parent e73a0e077a
commit 6c1d1c4f49

View file

@ -62,5 +62,4 @@ jobs:
# See https://pkg.go.dev/golang.org/x/vuln/cmd/govulncheck#hdr-Exit_codes for more information on exit codes.
- name: Check Go vulnerabilities
run: |
make
go run golang.org/x/vuln/cmd/govulncheck@d1f380186385b4f64e00313f31743df8e4b89a77 -mode=binary bin/gh
go run golang.org/x/vuln/cmd/govulncheck@d1f380186385b4f64e00313f31743df8e4b89a77 ./...