added sonarqube for static code analysis
All checks were successful
Tests / Run Go Tests (push) Successful in 1m25s
All checks were successful
Tests / Run Go Tests (push) Successful in 1m25s
This commit is contained in:
@@ -46,3 +46,11 @@ jobs:
|
||||
arbeitszeitmessung-
|
||||
- name: Run Go Tests
|
||||
run: cd Backend && go test ./...
|
||||
- uses: SonarSource/sonarqube-scan-action@v6
|
||||
env:
|
||||
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
|
||||
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
|
||||
- uses: SonarSource/sonarqube-quality-gate-action@v1
|
||||
timeout-minutes: 5
|
||||
env:
|
||||
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
|
||||
|
||||
Reference in New Issue
Block a user