Test on all Java LTS #779
Workflow file for this run
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: CI | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
workflow_dispatch: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
continue-on-error: true | |
strategy: | |
matrix: | |
java_version: [8, 11, 17, 21] | |
max-parallel: 4 | |
name: Test JDK ${{ matrix.java_version }} | |
steps: | |
- name: Setup Maven Action | |
uses: s4u/setup-maven-action@v1.8.0 | |
with: | |
checkout-fetch-depth: 0 | |
java-version: ${{ matrix.java_version }} | |
java-distribution: temurin | |
maven-version: 3.8.7 | |
- name: Verify with Maven | |
run: mvn verify -B |