Skip to content
This repository was archived by the owner on Dec 19, 2023. It is now read-only.

Commit 4c6d0b1

Browse files
committed
chore: update minimum java version to v17
1 parent 7a47c08 commit 4c6d0b1

File tree

3 files changed

+13
-13
lines changed

3 files changed

+13
-13
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ jobs:
2424
uses: actions/setup-java@v3
2525
with:
2626
distribution: 'temurin'
27-
java-version: 8
27+
java-version: 17
2828
- name: Cache Gradle
2929
uses: actions/cache@v3
3030
env:
31-
java-version: 8
31+
java-version: 17
3232
with:
3333
path: |
3434
~/.gradle/caches
@@ -52,11 +52,11 @@ jobs:
5252
uses: actions/setup-java@v3
5353
with:
5454
distribution: 'temurin'
55-
java-version: 8
55+
java-version: 17
5656
- name: Cache Gradle
5757
uses: actions/cache@v3
5858
env:
59-
java-version: 8
59+
java-version: 17
6060
with:
6161
path: |
6262
~/.gradle/caches
@@ -81,11 +81,11 @@ jobs:
8181
- uses: actions/checkout@v3
8282
with:
8383
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
84-
- name: Set up JDK 11
84+
- name: Set up JDK 17
8585
uses: actions/setup-java@v3
8686
with:
8787
distribution: 'temurin'
88-
java-version: 11
88+
java-version: 17
8989
- name: Cache SonarCloud packages
9090
uses: actions/cache@v3
9191
with:

.github/workflows/pull-request.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
fail-fast: false
3434
matrix:
3535
os: [ ubuntu-latest, macos-latest, windows-latest ]
36-
java: [ 8, 11, 17 ]
36+
java: [ 17, 19 ]
3737
needs: [ validation, commitlint ]
3838
runs-on: ${{ matrix.os }}
3939
steps:
@@ -81,12 +81,12 @@ jobs:
8181
if: env.SONAR_TOKEN != null
8282
with:
8383
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
84-
- name: Set up JDK 11
84+
- name: Set up JDK 17
8585
if: env.SONAR_TOKEN != null
8686
uses: actions/setup-java@v3
8787
with:
8888
distribution: 'temurin'
89-
java-version: 11
89+
java-version: 17
9090
- name: Cache SonarCloud packages
9191
if: env.SONAR_TOKEN != null
9292
uses: actions/cache@v3

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ jobs:
2020
uses: actions/setup-java@v3
2121
with:
2222
distribution: 'temurin'
23-
java-version: 8
23+
java-version: 17
2424
- name: Cache Gradle
2525
uses: actions/cache@v3
2626
env:
27-
java-version: 8
27+
java-version: 17
2828
with:
2929
path: |
3030
~/.gradle/caches
@@ -48,11 +48,11 @@ jobs:
4848
uses: actions/setup-java@v3
4949
with:
5050
distribution: 'temurin'
51-
java-version: 8
51+
java-version: 17
5252
- name: Cache Gradle
5353
uses: actions/cache@v3
5454
env:
55-
java-version: 8
55+
java-version: 17
5656
with:
5757
path: |
5858
~/.gradle/caches

0 commit comments

Comments
 (0)