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
- name: Run tests with coverage
run: go test ./... -coverprofile=coverage
run: go test ./... -coverprofile=coverage -json > test-results.json
- name: SonarQube Scan
uses: SonarSource/sonarqube-scan-action@v7.0.0
Vendored
+2 -1
View File
@@ -5,4 +5,5 @@ id_rsa*
tmp
certs
app
coverage
coverage
test-results.json
+4 -1
View File
@@ -1,3 +1,6 @@
sonar.projectKey=tunnel-please
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