Skip to content

Add support for Java 21 in CI #91

Add support for Java 21 in CI

Add support for Java 21 in CI #91

Workflow file for this run

name: Scala
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
permissions:
contents: read
jobs:
test:
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-latest
java: 11
- os: ubuntu-latest
java: 17
- os: ubuntu-latest
# Temurin 21 is not yet available – use early access
# https://adoptium.net/en-GB/blog/2023/09/temurin21-delay/
java: 21-ea
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: recursive
- name: Setup JDK
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: ${{ matrix.java }}
- name: Build and test
shell: bash
run: sbt -v +test