Add note on govulncheck source mode for Go 1.25
This commit is contained in:
parent
6c1d1c4f49
commit
b151f53d02
1 changed files with 3 additions and 0 deletions
3
.github/workflows/lint.yml
vendored
3
.github/workflows/lint.yml
vendored
|
|
@ -60,6 +60,9 @@ jobs:
|
|||
|
||||
# `govulncheck` exits unsuccessfully if vulnerabilities are found, providing results in stdout.
|
||||
# See https://pkg.go.dev/golang.org/x/vuln/cmd/govulncheck#hdr-Exit_codes for more information on exit codes.
|
||||
#
|
||||
# On go1.25, To make `-mode binary` work we need to make sure the binary is built with `go build -builtvsc=false`
|
||||
# Since our builds do not use `-builtvsc=false`, we run in source mode here instead.
|
||||
- name: Check Go vulnerabilities
|
||||
run: |
|
||||
go run golang.org/x/vuln/cmd/govulncheck@d1f380186385b4f64e00313f31743df8e4b89a77 ./...
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue