Skip to content

Commit 31c314a

Browse files
committed
Use Java 17 to run tests on CI
1 parent ab02dcc commit 31c314a

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Android CI
1+
name: CI
22

33
on:
44
push:
@@ -13,12 +13,11 @@ jobs:
1313
steps:
1414
- uses: actions/checkout@v2
1515
- uses: gradle/wrapper-validation-action@v1
16-
- uses: actions/setup-java@v2
16+
- uses: actions/setup-java@v4
1717
with:
1818
distribution: 'zulu'
19-
java-version: '11'
19+
java-version: '17'
20+
- uses: gradle/actions/setup-gradle@v3
2021

21-
- name: Run tests
22-
env:
23-
unfurler_twitter_token: ${{ secrets.unfurler_twitter_token }}
22+
- name: Run unit tests and friends
2423
run: ./gradlew check

0 commit comments

Comments
 (0)