Skip to content

Commit 618eae5

Browse files
committed
Update some actions to latest version
1 parent 1bbb210 commit 618eae5

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ jobs:
88
uses: actions/checkout@v5.0.0
99
with:
1010
fetch-depth: 0
11+
- name: Setup Java 11
12+
uses: actions/setup-java@v1
13+
with:
14+
java-version: 11
1115
- name: Run Unit Test
1216
run: ./gradlew test
1317
- name: Upload Artifacts
@@ -28,7 +32,7 @@ jobs:
2832
with:
2933
java-version: 11
3034
- name: Run Instrumentation Test
31-
uses: reactivecircus/android-emulator-runner@v2
35+
uses: reactivecircus/android-emulator-runner@1dcd0090116d15e7c562f8db72807de5e036a4ed # v2.34.0
3236
with:
3337
api-level: 29
3438
script: ./gradlew connectedCheck

library/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@ android {
2929
}
3030

3131
compileOptions {
32-
sourceCompatibility JavaVersion.VERSION_21
33-
targetCompatibility JavaVersion.VERSION_21
32+
sourceCompatibility JavaVersion.VERSION_11
33+
targetCompatibility JavaVersion.VERSION_11
3434
}
3535

3636
kotlinOptions {
37-
jvmTarget = '21'
37+
jvmTarget = '11'
3838
}
3939
}
4040

0 commit comments

Comments
 (0)