File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -10,22 +10,22 @@ jobs:
1010 name : Build and analyze
1111 runs-on : ubuntu-latest
1212 steps :
13- - uses : actions/checkout@v3
13+ - uses : actions/checkout@v4
1414 with :
1515 fetch-depth : 0 # Shallow clones should be disabled for a better relevancy of analysis
16- - name : Set up JDK 17
17- uses : actions/setup-java@v3
16+ - name : Set up JDK 21
17+ uses : actions/setup-java@v4
1818 with :
19- java-version : 17
19+ java-version : 21
2020 distribution : ' zulu' # Alternative distribution options are available.
2121 - name : Cache SonarCloud packages
22- uses : actions/cache@v3
22+ uses : actions/cache@v4
2323 with :
2424 path : ~/.sonar/cache
2525 key : ${{ runner.os }}-sonar
2626 restore-keys : ${{ runner.os }}-sonar
2727 - name : Cache Maven packages
28- uses : actions/cache@v3
28+ uses : actions/cache@v4
2929 with :
3030 path : ~/.m2
3131 key : ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
3434 env :
3535 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
3636 SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
37- run : mvn -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=BentoBoxWorld_ControlPanel
37+ run : mvn -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=BentoBoxWorld_ControlPanel
You can’t perform that action at this time.
0 commit comments