Skip to content

Commit 1b083c2

Browse files
authored
Merge pull request cli#11482 from cli/kw/fix-govulncheck-sarif-upload
Update govulncheck workflow to scan source code
2 parents a247a04 + 3f55855 commit 1b083c2

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

.github/workflows/govulncheck.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@ jobs:
2121
# See https://pkg.go.dev/golang.org/x/vuln/cmd/govulncheck#hdr-Exit_codes for more information on exit codes.
2222
- name: Check Go vulnerabilities
2323
run: |
24-
make
25-
go run golang.org/x/vuln/cmd/govulncheck@d1f380186385b4f64e00313f31743df8e4b89a77 -mode=binary -format sarif bin/gh > gh.sarif
24+
go run golang.org/x/vuln/cmd/govulncheck@d1f380186385b4f64e00313f31743df8e4b89a77 -format sarif ./... > gh.sarif
2625
2726
- name: Upload SARIF report
2827
uses: github/codeql-action/upload-sarif@9b02dc2f60288b463e7a66e39c78829b62780db7 # 2.22.1

0 commit comments

Comments
 (0)