Apply suggestions from code review

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Kynan Ware 2025-11-03 13:08:16 -07:00 committed by GitHub
parent b151f53d02
commit 52391ff0f8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -61,8 +61,8 @@ 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.
# On go1.25, To make `-mode binary` work we need to make sure the binary is built with `go build -buildvcs=false`
# Since our builds do not use `-buildvcs=false`, we run in source mode here instead.
- name: Check Go vulnerabilities
run: |
go run golang.org/x/vuln/cmd/govulncheck@d1f380186385b4f64e00313f31743df8e4b89a77 ./...