Skip to content

ci: add java 21 in the test matrix #285

ci: add java 21 in the test matrix

ci: add java 21 in the test matrix #285

Workflow file for this run

name: CI
on:
push:
pull_request:
schedule:
- cron: '0 0 * * 0'
jobs:
verify:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
java:
- 7
- 8
- 11
- 21
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup java
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java }}
- name: Cache Maven packages
uses: actions/cache@v4
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 14.x
- name: Run the Maven verify phase
run: mvn verify -Dgpg.skip=true