Skip to content

Commit

Permalink
Feat: enhance build workflow to upload SARIF results from Golang Secu…
Browse files Browse the repository at this point in the history
…rity Scanner
  • Loading branch information
kek-Sec committed Dec 20, 2024
1 parent 60f8655 commit 43e6929
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/build&test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,12 @@ jobs:
- name: 🔍 Run Golang Security Scanner
uses: securego/[email protected]
with:
args: ./...
args: '-no-fail -fmt sarif -out results.sarif ./...'

- name: 📝 Upload SARIF Results
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: results.sarif

- name: 🌐 Set Up Node.js
uses: actions/setup-node@v4
Expand Down

0 comments on commit 43e6929

Please sign in to comment.