File tree 2 files changed +18
-9
lines changed
2 files changed +18
-9
lines changed Original file line number Diff line number Diff line change @@ -104,12 +104,8 @@ jobs:
104
104
- name : Generate code coverage
105
105
run : cargo llvm-cov --all-features --workspace --lcov --output-path lcov.info
106
106
107
- # - name: SonarCloud Scan
108
- # uses: SonarSource/sonarcloud-github-action@master
109
- # env:
110
- # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
111
- # SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
112
- # with:
113
- # args: >
114
- # -Dsonar.externalIssuesReportPaths=sonar-issues.json
115
- # -Dcommunity.rust.lcov.reportPaths=lcov.info
107
+ - name : SonarQube Scan
108
+ uses : SonarSource/sonarqube-scan-action@v4
109
+ env :
110
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
111
+ SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
Original file line number Diff line number Diff line change
1
+ sonar.projectKey =weaveworks_sops-gitops-github-action
2
+ sonar.organization =weaveworks
3
+
4
+ # This is the name and version displayed in the SonarCloud UI.
5
+ sonar.projectName =sops-gitops-github-action
6
+ # sonar.projectVersion=1.0
7
+
8
+
9
+ # Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows.
10
+ sonar.sources =.
11
+
12
+ # Encoding of the source code. Default is default system encoding
13
+ sonar.sourceEncoding =UTF-8
You can’t perform that action at this time.
0 commit comments