Skip to content

Commit 19af065

Browse files
committed
GH-5076: Use Java 17 for Github CI
Spring 6 requires Java 17. This should not change things for clients as the project still compiles for Java 11
1 parent 6e19b54 commit 19af065

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/pr-verify.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Set up JDK
2020
uses: actions/setup-java@v4
2121
with:
22-
java-version: 11
22+
java-version: 17
2323
distribution: 'temurin'
2424
cache: maven
2525
- name: Check formatting
@@ -37,7 +37,7 @@ jobs:
3737
- name: Set up JDK
3838
uses: actions/setup-java@v4
3939
with:
40-
java-version: 11
40+
java-version: 17
4141
distribution: 'temurin'
4242
cache: maven
4343
- name: Compile (mvn clean install)
@@ -50,7 +50,7 @@ jobs:
5050
strategy:
5151
fail-fast: true
5252
matrix:
53-
jdk: [ 11, 24 ]
53+
jdk: [ 17, 24 ]
5454
steps:
5555
- uses: actions/checkout@v4
5656
- name: Set up JDK
@@ -78,7 +78,7 @@ jobs:
7878
- name: Set up JDK
7979
uses: actions/setup-java@v4
8080
with:
81-
java-version: 11
81+
java-version: 17
8282
distribution: 'temurin'
8383
cache: maven
8484
- name: Build
@@ -99,7 +99,7 @@ jobs:
9999
- name: Set up JDK
100100
uses: actions/setup-java@v4
101101
with:
102-
java-version: 11
102+
java-version: 17
103103
distribution: 'temurin'
104104
cache: maven
105105
- name: Build
@@ -120,7 +120,7 @@ jobs:
120120
- name: Set up JDK
121121
uses: actions/setup-java@v4
122122
with:
123-
java-version: 11
123+
java-version: 17
124124
distribution: 'temurin'
125125
cache: maven
126126
- name: Run install
@@ -137,7 +137,7 @@ jobs:
137137
- name: Set up JDK
138138
uses: actions/setup-java@v4
139139
with:
140-
java-version: 11
140+
java-version: 17
141141
distribution: 'temurin'
142142
cache: maven
143143
- name: Install dependencies

0 commit comments

Comments
 (0)