File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2121 - name : Set up JDK 21
2222 uses : actions/setup-java@v4
2323 with :
24- java-version : 21
24+ java-version : 21
2525 distribution : " temurin"
2626 - name : Cache SonarQube packages
2727 uses : actions/cache@v4
4141 SONAR_HOST_URL : ${{ secrets.SONAR_HOST_URL }}
4242 run : |
4343 cd server/
44- ./scripts/createServerKeys.sh
4544 ./gradlew build sonar --info
4645 sonarQubeFrontend :
4746 name : sonarQube Frontend
5958 cd frontend
6059 pnpm run coverage
6160 - name : Scan Frontend
62- uses : sonarsource /sonarqube-scan-action@master
61+ uses : SonarSource /sonarqube-scan-action@v5.3.1
6362 env :
6463 SONAR_TOKEN : ${{ secrets.SONAR_TOKEN_FRONTEND }} # analysis token associated to your project
6564 SONAR_HOST_URL : ${{ secrets.SONAR_HOST }}
@@ -72,10 +71,10 @@ jobs:
7271 - uses : actions/checkout@v4
7372 with :
7473 fetch-depth : 0
75- - name : Set up JDK 17
74+ - name : Set up JDK 21
7675 uses : actions/setup-java@v4
7776 with :
78- java-version : 17
77+ java-version : 21
7978 distribution : " temurin"
8079 - name : Cache SonarQube packages
8180 uses : actions/cache@v4
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ plugins {
1010 id ' org.jetbrains.kotlin.plugin.spring' version ' 1.8.10' // For Spring support
1111 id ' org.springframework.boot' version ' 3.2.4' // Adjust the Spring Boot version as needed
1212 id ' io.spring.dependency-management' version ' 1.1.0' // For dependency management
13- id ' org.sonarqube' version ' 5.1.0.4882 '
13+ id ' org.sonarqube' version ' 5.3.1 '
1414 id ' jacoco'
1515 id ' application'
1616 id " com.diffplug.spotless" version " 6.19.0"
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ plugins {
77 id ' application'
88 id ' org.springframework.boot' version ' 3.4.5'
99 id ' io.spring.dependency-management' version ' 1.1.7'
10- id " org.sonarqube" version " 5.1.0.4882 "
10+ id " org.sonarqube" version " 5.3.1 "
1111 id " com.diffplug.spotless" version " 6.19.0"
1212 id " org.flywaydb.flyway" version " 10.1.0"
1313 id ' java'
You can’t perform that action at this time.
0 commit comments