Merge pull request #18254 from ivanvc/release-3.5-dont-swallow-govulncheck-exit-code

[3.5] github/govuln: don't swallow govulncheck errors
This commit is contained in:
Benjamin Wang 2024-06-30 07:50:55 +01:00 committed by GitHub
commit 5b4c548a2c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -18,4 +18,4 @@ jobs:
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 ./...' \;
find . -name go.mod | xargs -I'{}' /bin/bash -c 'echo scanning $(dirname {}); govulncheck -C $(dirname {}) -show verbose ./...'