Skip to content

Bump styfle/cancel-workflow-action from 0.11.0 to 0.12.0 #302

Bump styfle/cancel-workflow-action from 0.11.0 to 0.12.0

Bump styfle/cancel-workflow-action from 0.11.0 to 0.12.0 #302

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
name: "JDK ${{ matrix.java }}"
strategy:
matrix:
java: [ 8, 11 ]
runs-on: ubuntu-latest
steps:
# Cancel any previous runs for the same branch that are still running.
- name: 'Cancel previous runs'
uses: styfle/cancel-workflow-action@01ce38bf961b4e243a6342cbade0dbc8ba3f0432
with:
access_token: ${{ github.token }}
- name: 'Check out repository'
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608
- name: 'Set up JDK ${{ matrix.java }}'
uses: actions/setup-java@0ab4596768b603586c0de567f2430c30f5b0d2b0
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