Skip to content

Commit 8e3d23d

Browse files
committed
Add java 25 to build matrix
1 parent ffa589b commit 8e3d23d

File tree

2 files changed

+15
-2
lines changed

2 files changed

+15
-2
lines changed

.github/workflows/ci.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,12 @@ jobs:
2323
matrix:
2424
os: [ubuntu-latest]
2525
scala: [2.12.20]
26-
java: [temurin@8, temurin@11, temurin@17, temurin@21]
26+
java:
27+
- temurin@8
28+
- temurin@11
29+
- temurin@17
30+
- temurin@21
31+
- temurin@25
2732
runs-on: ${{ matrix.os }}
2833
steps:
2934
- name: Checkout current branch (full)
@@ -63,6 +68,14 @@ jobs:
6368
java-version: 21
6469
cache: sbt
6570

71+
- name: Setup Java (temurin@25)
72+
if: matrix.java == 'temurin@25'
73+
uses: actions/setup-java@v5
74+
with:
75+
distribution: temurin
76+
java-version: 25
77+
cache: sbt
78+
6679
- name: Setup sbt
6780
uses: sbt/setup-sbt@v1
6881

build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ lazy val root = project
1414
crossScalaVersions := scalaVersions
1515
)
1616

17-
ThisBuild / githubWorkflowJavaVersions := Seq("8", "11", "17", "21").map(JavaSpec.temurin)
17+
ThisBuild / githubWorkflowJavaVersions := Seq("8", "11", "17", "21", "25").map(JavaSpec.temurin)
1818
ThisBuild / githubWorkflowScalaVersions := scalaVersions
1919
ThisBuild / githubWorkflowBuildPostamble := Seq(
2020
// This runs the template with the default parameters, and runs test within the templated app.

0 commit comments

Comments
 (0)