File tree Expand file tree Collapse file tree 2 files changed +18
-8
lines changed Expand file tree Collapse file tree 2 files changed +18
-8
lines changed Original file line number Diff line number Diff line change 1212
1313 steps :
1414 - name : Checkout source code
15- uses : actions/checkout@v3
15+ uses : actions/checkout@v4
16+ with :
17+ fetch-depth : 0 # Important for SonarCloud analysis
1618
1719 - name : Set up Node.js
1820 uses : actions/setup-node@v3
2628 run : echo "No tests defined yet"
2729
2830 - name : SonarCloud Analysis
29- uses :
sonarsource/[email protected] 30- with :
31- projectBaseDir : .
32- args : >
33- -Dsonar.projectKey=IT21276446_user-auth-microservice
34- -Dsonar.organization=it21276446
35- -Dsonar.host.url=https://sonarcloud.io
31+ uses : SonarSource/sonarqube-scan-action@v5
3632 env :
3733 SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
3834
Original file line number Diff line number Diff line change 1+ sonar.projectKey =IT21276446_user-auth-microservice
2+ sonar.organization =it21276446
3+
4+
5+ # This is the name and version displayed in the SonarCloud UI.
6+ # sonar.projectName=user-auth-microservice
7+ # sonar.projectVersion=1.0
8+
9+
10+ # Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows.
11+ # sonar.sources=.
12+
13+ # Encoding of the source code. Default is default system encoding
14+ # sonar.sourceEncoding=UTF-8
You can’t perform that action at this time.
0 commit comments