Merge pull request #18171 from henrybear327/ci/fix_govulncheck_release_main

Fix govulncheck CI check on main branch
This commit is contained in:
Benjamin Wang 2024-06-14 18:27:40 +01:00 committed by GitHub
commit d2b6423a5c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -16,4 +16,6 @@ jobs:
- run: |
set -euo pipefail
go install golang.org/x/vuln/cmd/govulncheck@latest && govulncheck ./...
go install golang.org/x/vuln/cmd/govulncheck@latest
find -name go.mod -exec /bin/bash -c 'echo scanning $(dirname {}); govulncheck -C $(dirname {}) -show verbose ./...' \;