💚 fix gosec

This commit is contained in:
naiba
2021-11-04 13:02:07 +08:00
parent bcc42dea79
commit 4b36223b4b
2 changed files with 7 additions and 9 deletions

View File

@@ -22,6 +22,6 @@ jobs:
go build cmd/dashboard/main.go
go build cmd/agent/main.go
- name: Run Gosec Security Scanner
uses: securego/gosec@master
with:
args: -exclude=G104 ./...
run: |
go install github.com/securego/gosec/v2/cmd/gosec@latest
gosec -exclude=G104 ./...