@@ -10,11 +10,11 @@ jobs:
1010 os : [ macos-latest, windows-latest, ubuntu-latest ]
1111 runs-on : ${{ matrix.os }}
1212 steps :
13- - uses : actions/checkout@v3
13+ - uses : actions/checkout@v6
1414 with :
1515 fetch-depth : 0 # Shallow clones should be disabled for a better relevancy of analysis
1616 - name : Set up JDK 21
17- uses : actions/setup-java@v3
17+ uses : actions/setup-java@v5
1818 with :
1919 java-version : 21
2020 distribution : adopt
2323 run : ./gradlew --no-daemon build
2424
2525 - name : Save build cache
26- uses : actions/cache/save@v3
26+ uses : actions/cache/save@v5
2727 with :
2828 path : ./build
2929 key : ${{ github.sha }}-${{ github.workflow_id }}-${{ runner.os }}
@@ -38,49 +38,44 @@ jobs:
3838 runs-on : ${{ matrix.os }}
3939 steps :
4040 - name : Checkout
41- uses : actions/checkout@v3
41+ uses : actions/checkout@v6
4242 - name : Set up JDK 21
43- uses : actions/setup-java@v3
43+ uses : actions/setup-java@v5
4444 with :
4545 java-version : 21
4646 distribution : adopt
4747 cache : gradle
4848 - name : Restore build cache
49- uses : actions/cache/restore@v3
49+ uses : actions/cache/restore@v5
5050 with :
5151 path : ./build
5252 key : ${{ github.sha }}-${{ github.workflow_id }}-${{ runner.os }}
5353 - name : Gradle check
5454 run : ./gradlew --no-daemon check
55- - name : Save tests cache
56- uses : actions/cache/save@v3
57- with :
58- path : ./build
59- key : ${{ github.sha }}-${{ github.workflow_id }}-${{ runner.os }}
6055
6156 analyze :
6257 name : Static code analysis
6358 needs : test
6459 runs-on : ubuntu-latest
6560 steps :
6661 - name : Checkout
67- uses : actions/checkout@v3
62+ uses : actions/checkout@v6
6863 with :
6964 fetch-depth : 0 # Shallow clones
7065 - name : Set up JDK 21
71- uses : actions/setup-java@v3
66+ uses : actions/setup-java@v5
7267 with :
7368 java-version : 21
7469 distribution : adopt
7570 cache : gradle
7671 - name : Restore tests cache
77- uses : actions/cache/restore@v3
72+ uses : actions/cache/restore@v5
7873 with :
7974 path : ./build
8075 key : ${{ github.sha }}-${{ github.workflow_id }}-${{ runner.os }}
8176
8277 - name : Cache SonarCloud packages
83- uses : actions/cache@v3
78+ uses : actions/cache@v5
8479 with :
8580 path : ./.sonar/cache
8681 key : ${{ runner.os }}-sonar
9287 SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
9388 run : ./gradlew --no-daemon analyze
9489 - name : Codecov update
95- uses : codecov/codecov-action@v3
90+ uses : codecov/codecov-action@v5
9691 with :
9792 token : " d76dfcb2-9baa-40e4-b07a-4b2647bcf3c4" # should be moved to ${{ secrets.CODECOV_TOKEN }}
9893 files : " ./build/reports/jacoco/testCodeCoverageReport/testCodeCoverageReport.xml"
0 commit comments