ci: update SonarQube action configuration
SonarQube Scan / SonarQube Trigger (push) Successful in 2m2s

This commit is contained in:
2026-01-22 22:05:02 +07:00
parent 5bed32bda3
commit 4cef941563
3 changed files with 7 additions and 3 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ jobs:
run: go mod tidy run: go mod tidy
- name: Run tests with coverage - name: Run tests with coverage
run: go test ./... -coverprofile=coverage run: go test ./... -coverprofile=coverage -json > test-results.json
- name: SonarQube Scan - name: SonarQube Scan
uses: SonarSource/sonarqube-scan-action@v7.0.0 uses: SonarSource/sonarqube-scan-action@v7.0.0
Vendored
+1
View File
@@ -6,3 +6,4 @@ tmp
certs certs
app app
coverage coverage
test-results.json
+3
View File
@@ -1,3 +1,6 @@
sonar.projectKey=tunnel-please sonar.projectKey=tunnel-please
sonar.go.coverage.reportPaths=coverage sonar.go.coverage.reportPaths=coverage
sonar.test.inclusions=**/*_test.go sonar.test.inclusions=**/*_test.go
sonar.test.exclusions=**/vendor/**
sonar.exclusions=**/*_test.go,**/vendor/**
sonar.go.tests.reportPaths=test-results.json