Skip to content

Bump actions/setup-java from 6.0.0 to 6.0.1 in the github-actions group #741

Bump actions/setup-java from 6.0.0 to 6.0.1 in the github-actions group

Bump actions/setup-java from 6.0.0 to 6.0.1 in the github-actions group #741

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
permissions:
contents: read
# Cancel in-progress runs for pull requests, but not for master branch pushes
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
test:
name: "JDK ${{ matrix.java }}"
strategy:
matrix:
java: [ 8, 11, 17, 21 ]
runs-on: ubuntu-latest
steps:
- name: 'Check out repository'
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
with:
persist-credentials: false
- name: 'Set up JDK ${{ matrix.java }}'
uses: actions/setup-java@de7274f081f381c8f8158605e0321c36c376e2e6
with:
java-version: ${{ matrix.java }}
distribution: 'zulu'
cache: 'maven'
- name: 'Install'
shell: bash
run: mvn -B -U install clean --fail-never --quiet -DskipTests=true -Dinvoker.skip=true
- name: 'Test'
shell: bash
run: mvn -B verify