Add note on govulncheck source mode for Go 1.25

This commit is contained in:
Kynan Ware 2025-11-03 13:05:33 -07:00
parent 6c1d1c4f49
commit b151f53d02

View file

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