Skip to content

Commit 7052507

Browse files
authored
Merge pull request #2779 from exoego/drop-java8
Replace Java 8 with newer LTS Java 17
2 parents d47311e + 4c726d7 commit 7052507

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,20 +24,20 @@ jobs:
2424
matrix:
2525
os: [ubuntu-latest]
2626
scala: [2.12.17, 2.13.10]
27-
java: [adopt-hotspot@8, adopt-hotspot@11]
27+
java: [adopt-hotspot@17, adopt-hotspot@11]
2828
runs-on: ${{ matrix.os }}
2929
steps:
3030
- name: Checkout current branch (full)
3131
uses: actions/checkout@v2
3232
with:
3333
fetch-depth: 0
3434

35-
- name: Setup Java (adopt-hotspot@8)
36-
if: matrix.java == 'adopt-hotspot@8'
35+
- name: Setup Java (adopt-hotspot@17)
36+
if: matrix.java == 'adopt-hotspot@17'
3737
uses: actions/setup-java@v2
3838
with:
3939
distribution: adopt-hotspot
40-
java-version: 8
40+
java-version: 17
4141

4242
- name: Setup Java (adopt-hotspot@11)
4343
if: matrix.java == 'adopt-hotspot@11'
@@ -84,20 +84,20 @@ jobs:
8484
matrix:
8585
os: [ubuntu-latest]
8686
scala: [2.12.17]
87-
java: [adopt-hotspot@8]
87+
java: [adopt-hotspot@17]
8888
runs-on: ${{ matrix.os }}
8989
steps:
9090
- name: Checkout current branch (full)
9191
uses: actions/checkout@v2
9292
with:
9393
fetch-depth: 0
9494

95-
- name: Setup Java (adopt-hotspot@8)
96-
if: matrix.java == 'adopt-hotspot@8'
95+
- name: Setup Java (adopt-hotspot@17)
96+
if: matrix.java == 'adopt-hotspot@17'
9797
uses: actions/setup-java@v2
9898
with:
9999
distribution: adopt-hotspot
100-
java-version: 8
100+
java-version: 17
101101

102102
- name: Setup Java (adopt-hotspot@11)
103103
if: matrix.java == 'adopt-hotspot@11'

build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ ThisBuild / githubWorkflowPublish := Seq(
5252
name = Some("Publish Docker image")
5353
)
5454
)
55-
ThisBuild / githubWorkflowJavaVersions := Seq(JavaSpec(Adopt, "8"), JavaSpec(Adopt, "11"))
55+
ThisBuild / githubWorkflowJavaVersions := Seq(JavaSpec(Adopt, "17"), JavaSpec(Adopt, "11"))
5656
ThisBuild / githubWorkflowBuild :=
5757
Seq(
5858
WorkflowStep.Sbt(List("validate"), name = Some("Build project")),

0 commit comments

Comments
 (0)