Update sonarqube.yml

This commit is contained in:
Winni Neessen 2022-04-12 23:25:23 +02:00 committed by GitHub
parent a5cd8d6d68
commit 556223c09a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -27,11 +27,11 @@ jobs:
- name: Run unit Tests
run: |
go test -v -race --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 ./...'
- uses: sonarsource/sonarqube-scan-action@master
env: