mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
Fix govulncheck CI check on main branch
This commit fixed the Go Vulnerability Checker CI job, which isn't scanning for all go.mod files within the project. Reference: - https://github.com/etcd-io/etcd/discussions/18168 Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
This commit is contained in:
parent
260dd77ed4
commit
bc1aed1936
4
.github/workflows/govuln.yaml
vendored
4
.github/workflows/govuln.yaml
vendored
@ -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 ./...' \;
|
||||
|
Loading…
x
Reference in New Issue
Block a user