Skip to content

Commit cb8674a

Browse files
committed
Add java 21 to build matrix
1 parent 60eee11 commit cb8674a

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
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.19]
26-
java: [temurin@8, temurin@11, temurin@17]
26+
java: [temurin@8, temurin@11, temurin@17, temurin@21]
2727
runs-on: ${{ matrix.os }}
2828
steps:
2929
- name: Checkout current branch (full)
@@ -55,6 +55,14 @@ jobs:
5555
java-version: 17
5656
cache: sbt
5757

58+
- name: Setup Java (temurin@21)
59+
if: matrix.java == 'temurin@21'
60+
uses: actions/setup-java@v4
61+
with:
62+
distribution: temurin
63+
java-version: 21
64+
cache: sbt
65+
5866
- name: Setup sbt
5967
uses: sbt/setup-sbt@v1
6068

0 commit comments

Comments
 (0)