From 8e3d23d75cc716cc2a0c7dc9db89a5d1a1479613 Mon Sep 17 00:00:00 2001 From: philippus Date: Sat, 4 Oct 2025 18:47:02 +0200 Subject: [PATCH] Add java 25 to build matrix --- .github/workflows/ci.yml | 15 ++++++++++++++- build.sbt | 2 +- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 50ef5fd..a62d6ed 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,7 +23,12 @@ jobs: matrix: os: [ubuntu-latest] scala: [2.12.20] - java: [temurin@8, temurin@11, temurin@17, temurin@21] + java: + - temurin@8 + - temurin@11 + - temurin@17 + - temurin@21 + - temurin@25 runs-on: ${{ matrix.os }} steps: - name: Checkout current branch (full) @@ -63,6 +68,14 @@ jobs: java-version: 21 cache: sbt + - name: Setup Java (temurin@25) + if: matrix.java == 'temurin@25' + uses: actions/setup-java@v5 + with: + distribution: temurin + java-version: 25 + cache: sbt + - name: Setup sbt uses: sbt/setup-sbt@v1 diff --git a/build.sbt b/build.sbt index f85ce81..9db7494 100644 --- a/build.sbt +++ b/build.sbt @@ -14,7 +14,7 @@ lazy val root = project crossScalaVersions := scalaVersions ) -ThisBuild / githubWorkflowJavaVersions := Seq("8", "11", "17", "21").map(JavaSpec.temurin) +ThisBuild / githubWorkflowJavaVersions := Seq("8", "11", "17", "21", "25").map(JavaSpec.temurin) ThisBuild / githubWorkflowScalaVersions := scalaVersions ThisBuild / githubWorkflowBuildPostamble := Seq( // This runs the template with the default parameters, and runs test within the templated app.