Skip to content

Commit 600ea41

Browse files
committed
Use Java 21 in the CI
# Conflicts: # .github/workflows/codeql-analysis.yml
1 parent c0670fe commit 600ea41

File tree

4 files changed

+8
-6
lines changed

4 files changed

+8
-6
lines changed

.github/workflows/cd.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@ jobs:
2323
# - windows-latest
2424
# - macos-latest
2525
java:
26-
- 11
27-
# - 17
26+
- '21'
2827
runs-on: ${{ matrix.os }}
2928
timeout-minutes: 20
3029
steps:

.github/workflows/ci.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@ jobs:
2424
- windows-latest
2525
- macos-latest
2626
java:
27-
- 11
28-
- 17
27+
- '21'
2928
runs-on: ${{ matrix.os }}
3029
timeout-minutes: 20
3130
steps:

.github/workflows/codeql-analysis.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,11 @@ jobs:
3636
steps:
3737
- name: Checkout repository
3838
uses: actions/checkout@v5
39+
- name: Set up JDK
40+
uses: actions/[email protected]
41+
with:
42+
distribution: 'zulu'
43+
java-version: '21'
3944

4045
# Initializes the CodeQL tools for scanning.
4146
- name: Initialize CodeQL

.github/workflows/release.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@ jobs:
2525
# - windows-latest
2626
# - macos-latest
2727
java:
28-
- 11
29-
# - 17
28+
- '21'
3029
runs-on: ${{ matrix.os }}
3130
timeout-minutes: 20
3231
steps:

0 commit comments

Comments
 (0)