Update sonarqube.yml

Remove gosec and update to Go 1.19
This commit is contained in:
Winni Neessen 2022-10-18 17:36:13 +02:00 committed by GitHub
parent ff6a6a5f85
commit 4a1b1ede96
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -29,17 +29,12 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v3
with:
go-version: 1.18.x
go-version: 1.19.x
- name: Run unit Tests
run: |
go test -v -race --coverprofile=./cov.out ./...
- name: Run Gosec Security Scanner
uses: securego/gosec@master
with:
args: '-no-fail -fmt sonarqube -out report.json ./...'
- uses: sonarsource/sonarqube-scan-action@master
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}