File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -12,12 +12,12 @@ jobs:
1212 steps :
1313 - uses : actions/checkout@v3
1414 with :
15- fetch-depth : 0 # Shallow clones should be disabled for a better relevancy of analysis
16- - name : Set up JDK 8
17- uses : actions/setup-java@v3
15+ fetch-depth : 0 # Shallow clones should be disabled for a better relevancy of analysis
16+ - name : Set up JDK 21
17+ uses : actions/setup-java@v4
1818 with :
19- java-version : 8
20- distribution : ' zulu ' # Alternative distribution options are available.
19+ java-version : 21
20+ distribution : " temurin " # Alternative distribution options are available.
2121 - name : Cache SonarCloud packages
2222 uses : actions/cache@v3
2323 with :
3232 restore-keys : ${{ runner.os }}-m2
3333 - name : Build and analyze
3434 env :
35- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
35+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
3636 SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
3737 run : mvn -B -DskipTests verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=fayo-labs_spring-api
You can’t perform that action at this time.
0 commit comments