Add Java 21 to test matrix #14
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
on: [push] | |
jobs: | |
test: | |
strategy: | |
matrix: | |
os: [ubuntu-latest] # macOS-latest, windows-latest] | |
java-version: ["8", "11", "17", "21"] | |
clojure-version: ["1.10.3", "1.11.1"] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Java | |
uses: actions/setup-java@v3 | |
with: | |
java-version: ${{ matrix.java-version }} | |
distribution: 'temurin' | |
cache: 'maven' | |
- name: Build with Maven | |
run: mvn -ntp -B -Dclojure.version=${{ matrix.clojure-version }} clean test |