Skip to content

Commit 104082e

Browse files
committed
Switch to JDK 25 in CI build
1 parent ebe3253 commit 104082e

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
matrix:
2222
java:
2323
- 17
24-
- 21
24+
- 25
2525
os:
2626
- ubuntu-22.04-arm
2727
- ubuntu-22.04
@@ -36,12 +36,17 @@ jobs:
3636
fetch-depth: 300
3737
- name: Fetch tags
3838
run: git fetch --depth=300 origin +refs/tags/*:refs/tags/*
39+
- name: Set JVM options for JDK 25+
40+
if: matrix.java >= 25
41+
run: echo "JAVA_TOOL_OPTIONS=-XX:+UseCompactObjectHeaders" >> $GITHUB_ENV
42+
shell: bash
3943
- name: Cache SBT deps
4044
uses: coursier/cache-action@v6
4145
- name: Setup Scala with SBT
42-
uses: coursier/setup-action@v1
46+
uses: coursier/setup-action@v1.3.9
4347
with:
4448
jvm: temurin:${{ matrix.java }}
49+
jvm-index: https://raw.githubusercontent.com/coursier/jvm-index/refs/heads/master/index.json
4550
apps: sbt
4651
- name: Setup Node.js
4752
uses: actions/setup-node@v4

0 commit comments

Comments
 (0)