Skip to content

Commit

Permalink
test: Make the GoSec scanning more robust.
Browse files Browse the repository at this point in the history
  • Loading branch information
skyzyx committed Dec 20, 2023
1 parent 1c2bc3c commit e5a810a
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/gosec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,10 @@ jobs:
- name: Run Gosec Security Scanner
uses: securego/gosec@55d79496019a560e16e73e1948dee20a1fad631a # v2.18.2
with:
args: ./...
args: -fmt sarif -out results.sarif ./...

- name: Upload SARIF file
uses: github/codeql-action/upload-sarif@v1
with:
# Path to SARIF file relative to the root of the repository
sarif_file: results.sarif

0 comments on commit e5a810a

Please sign in to comment.