Skip to content

experiment: lower compile target to JDK 22 (test 22 + 25) #156

experiment: lower compile target to JDK 22 (test 22 + 25)

experiment: lower compile target to JDK 22 (test 22 + 25) #156

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
# Experiment: does the project build + test on JDK 22 (first stable FFM)
# as well as 25? If 22 is green, the supported floor can drop from 25.
java: ['22', '25']
steps:
- name: Checkout (with zstd submodule)
uses: actions/checkout@v4
with:
submodules: recursive
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: ${{ matrix.java }}
cache: maven
- name: Set up Zig
uses: mlugg/setup-zig@d1434d08867e3ee9daa34448df10607b98908d29 # v2
with:
version: 0.16.0
- name: Build, test and verify
run: ./mvnw -B -ntp verify