Skip to content

Commit 5c15a6e

Browse files
committed
Try turning on deps vuln checking using govulncheck as well
1 parent 4d95af2 commit 5c15a6e

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@ on:
99
schedule:
1010
- cron: '0 22 * * 5'
1111

12-
permissions:
13-
contents: read # to fetch code (actions/checkout)
14-
1512
jobs:
1613
CodeQL-Build:
1714

@@ -67,3 +64,17 @@ jobs:
6764

6865
- name: Perform CodeQL Analysis
6966
uses: github/codeql-action/analyze@v3
67+
68+
- name: Run govulncheck
69+
if: matrix.language == 'go'
70+
uses: golang/govulncheck-action@v1
71+
with:
72+
output-format: sarif
73+
output-file: govulncheck.sarif
74+
75+
- name: Upload govulncheck results
76+
if: matrix.language == 'go'
77+
uses: github/codeql-action/upload-sarif@v3
78+
with:
79+
sarif_file: govulncheck.sarif
80+
category: govulncheck

0 commit comments

Comments
 (0)