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

@ -29,9 +29,9 @@ jobs:
go test -v -race --coverprofile=./cov.out ./... go test -v -race --coverprofile=./cov.out ./...
- name: Run Gosec Security Scanner - name: Run Gosec Security Scanner
run: | uses: securego/gosec@master
go install github.com/securego/gosec/cmd/gosec@latest with:
gosec -no-fail -fmt=sonarqube -out report.json ./... args: '-no-fail -fmt sonarqube -out report.json ./...'
- uses: sonarsource/sonarqube-scan-action@master - uses: sonarsource/sonarqube-scan-action@master
env: env: