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.