Skip to content

Commit cd71c43

Browse files
committed
chore: use Java 21 for test workflow
1 parent b2a1015 commit cd71c43

File tree

1 file changed

+8
-13
lines changed

1 file changed

+8
-13
lines changed

.github/workflows/main.yml

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -12,30 +12,25 @@ on:
1212

1313
jobs:
1414
build:
15-
strategy:
16-
fail-fast: true
17-
matrix:
18-
java-version:
19-
- 8
20-
- 11
21-
gradle-version: [wrapper]
22-
name: 'Test, Java ${{ matrix.java-version }}'
15+
name: Test
2316
runs-on: ubuntu-latest
2417
steps:
2518
- uses: actions/checkout@v4
2619
with:
2720
fetch-depth: 50
2821
submodules: true
29-
- name: 'Set up JDK ${{ matrix.java-version }}'
22+
- name: Set up Java
3023
uses: actions/setup-java@v4
3124
with:
32-
java-version: ${{ matrix.java-version }}
25+
java-version: |
26+
8
27+
21
3328
distribution: 'zulu'
34-
- name: 'Test'
29+
- name: Test
3530
uses: burrunan/gradle-cache-action@v3
3631
with:
37-
job-id: jdk${{ matrix.java-version }}
38-
gradle-version: ${{ matrix.gradle-version }}
32+
job-id: jdk21
33+
gradle-version: wrapper
3934
arguments: |
4035
--no-parallel --no-daemon --scan
4136
build

0 commit comments

Comments
 (0)