Skip to content

Commit

Permalink
Fixing gosec workflow error
Browse files Browse the repository at this point in the history
  • Loading branch information
Mzack9999 committed Jul 27, 2022
1 parent 9affffd commit e840d7d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/sonarcloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ jobs:
go test -coverprofile=./cov.out ./...
- name: Run Gosec Security Scanner
run: |
go install github.com/securego/gosec/cmd/gosec@latest
gosec -no-fail -fmt=sonarqube -out report.json ./...
uses: securego/gosec@master
with:
args: '-no-fail -fmt=sonarqube -out report.json ./...'

- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@master
Expand Down

0 comments on commit e840d7d

Please sign in to comment.