3131 build-and-test-jvm :
3232 runs-on : ubuntu-latest
3333 steps :
34- - uses : actions/checkout@v2
34+ - uses : actions/checkout@v3
3535 - uses : gradle/wrapper-validation-action@v1
3636
3737 - name : create and checkout branch
4040 run : git checkout -B ${{ github.head_ref }}
4141
4242 - name : set up JDK 11
43- uses : actions/setup-java@v2
43+ uses : actions/setup-java@v3
4444 with :
4545 java-version : 11
4646 distribution : " temurin"
5050 run : ./gradlew assembleDebug lintDebug testDebugUnitTest --stacktrace -DskipFormatKtlint
5151
5252 - name : Upload APK
53- uses : actions/upload-artifact@v2
53+ uses : actions/upload-artifact@v3
5454 with :
5555 name : app
5656 path : app/build/outputs/apk/debug/*.apk
@@ -64,10 +64,10 @@ jobs:
6464 # api-level 19 is min sdk, but throws errors related to desugaring
6565 api-level : [ 21, 29 ]
6666 steps :
67- - uses : actions/checkout@v2
67+ - uses : actions/checkout@v3
6868
6969 - name : set up JDK 11
70- uses : actions/setup-java@v2
70+ uses : actions/setup-java@v3
7171 with :
7272 java-version : 11
7373 distribution : " temurin"
8282 script : ./gradlew connectedCheck --stacktrace
8383
8484 - name : Upload test report when tests fail # because the printed out stacktrace (console) is too short, see also #7553
85- uses : actions/upload-artifact@v2
85+ uses : actions/upload-artifact@v3
8686 if : failure()
8787 with :
8888 name : android-test-report-api${{ matrix.api-level }}
@@ -91,19 +91,19 @@ jobs:
9191 sonar :
9292 runs-on : ubuntu-latest
9393 steps :
94- - uses : actions/checkout@v2
94+ - uses : actions/checkout@v3
9595 with :
9696 fetch-depth : 0 # Shallow clones should be disabled for a better relevancy of analysis
9797
9898 - name : Set up JDK 11
99- uses : actions/setup-java@v2
99+ uses : actions/setup-java@v3
100100 with :
101101 java-version : 11 # Sonar requires JDK 11
102102 distribution : " temurin"
103103 cache : ' gradle'
104104
105105 - name : Cache SonarCloud packages
106- uses : actions/cache@v2
106+ uses : actions/cache@v3
107107 with :
108108 path : ~/.sonar/cache
109109 key : ${{ runner.os }}-sonar
0 commit comments