Skip to content

Commit cf6aff3

Browse files
committed
Add java 25 to build matrix
1 parent bf650b1 commit cf6aff3

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
matrix:
2424
os: [ubuntu-latest]
2525
scala: [2.12.20]
26-
java: [temurin@8, temurin@11, temurin@17, temurin@21]
26+
java: [temurin@8, temurin@11, temurin@17, temurin@21, temurin@25]
2727
runs-on: ${{ matrix.os }}
2828
steps:
2929
- name: Checkout current branch (full)
@@ -63,6 +63,14 @@ jobs:
6363
java-version: 21
6464
cache: sbt
6565

66+
- name: Setup Java (temurin@25)
67+
if: matrix.java == 'temurin@25'
68+
uses: actions/setup-java@v5
69+
with:
70+
distribution: temurin
71+
java-version: 25
72+
cache: sbt
73+
6674
- name: Setup sbt
6775
uses: sbt/setup-sbt@v1
6876

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)