mirror of
https://github.com/Dvorinka/Trackeep.git
synced 2026-06-04 12:32:58 +00:00
Fix security scan by using official gosec GitHub action
This commit is contained in:
@@ -93,9 +93,9 @@ jobs:
|
|||||||
go-version: '1.24'
|
go-version: '1.24'
|
||||||
|
|
||||||
- name: Run Gosec Security Scanner
|
- name: Run Gosec Security Scanner
|
||||||
run: |
|
uses: securecodewarrior/github-action-gosec@master
|
||||||
go install github.com/securecodewarrior/gosec/v2/cmd/gosec@latest
|
with:
|
||||||
gosec -no-fail -fmt sarif -out results.sarif ./...
|
args: '-no-fail -fmt sarif -out results.sarif ./...'
|
||||||
|
|
||||||
- name: Upload SARIF file
|
- name: Upload SARIF file
|
||||||
uses: github/codeql-action/upload-sarif@v3
|
uses: github/codeql-action/upload-sarif@v3
|
||||||
|
|||||||
Reference in New Issue
Block a user