Test against supported Java versions #451
This file contains hidden or 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 against supported Java versions | |
on: | |
schedule: | |
- cron: '0 4 * * *' | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
strategy: | |
matrix: | |
distribution: [ 'temurin' ] | |
version: [ '11', '17', '21', '24', '25-ea' ] | |
include: | |
- distribution: 'semeru' | |
version: '17' | |
name: Test against Java ${{ matrix.distribution }} ${{ matrix.version }} | |
steps: | |
- uses: actions/checkout@v5 | |
- name: Set up JDK | |
uses: actions/setup-java@v4 | |
with: | |
distribution: ${{ matrix.distribution }} | |
java-version: ${{ matrix.version }} | |
cache: 'maven' | |
- name: Display Java version | |
run: ./mvnw --version | |
- name: Build & Test | |
run: ./mvnw clean verify |