We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89cab6c commit 86d1445Copy full SHA for 86d1445
.github/workflows/go.yml
@@ -38,16 +38,22 @@ jobs:
38
39
sonarcloud:
40
runs-on: ubuntu-latest
41
- needs: build
+ needs: build
42
43
steps:
44
- name: Checkout code
45
uses: actions/checkout@v3
46
47
- name: Run SonarCloud Scan
48
- uses: sonarsource/[email protected]
+ uses: sonarsource/[email protected]
49
with:
50
projectBaseDir: .
51
+ args: >
52
+ -Dsonar.organization=${{ secrets.SONAR_ORG }}
53
+ -Dsonar.projectKey=${{ secrets.SONAR_PROJECT_KEY }}
54
+ -Dsonar.sources=.
55
+ -Dsonar.go.coverage.reportPaths=coverage.out
56
+ -Dsonar.verbose=true
57
env:
58
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
59
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments