File tree Expand file tree Collapse file tree 2 files changed +32
-0
lines changed Expand file tree Collapse file tree 2 files changed +32
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Sonarqube
2
+ on :
3
+ push :
4
+ branches :
5
+ - master
6
+ pull_request :
7
+ types : [opened, synchronize, reopened]
8
+ jobs :
9
+ sonarcloud :
10
+ name : SonarCloud
11
+ runs-on : ubuntu-latest
12
+ steps :
13
+ - uses : actions/checkout@v2
14
+ with :
15
+ fetch-depth : 0 # Shallow clones should be disabled for a better relevancy of analysis
16
+ - name : SonarCloud Scan
17
+ uses : SonarSource/sonarcloud-github-action@master
18
+ env :
19
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
20
+ SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
Original file line number Diff line number Diff line change
1
+ sonar.projectKey =platisd_smartcar_shield
2
+ sonar.organization =platisd
3
+
4
+ # This is the name and version displayed in the SonarCloud UI.
5
+ # sonar.projectName=smartcar_shield
6
+ # sonar.projectVersion=1.0
7
+
8
+ # Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows.
9
+ sonar.sources =src
10
+
11
+ # Encoding of the source code. Default is default system encoding
12
+ # sonar.sourceEncoding=UTF-8
You can’t perform that action at this time.
0 commit comments