Updating main #46
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: PR QA | |
on: | |
pull_request: | |
types: [opened, synchronize, reopened] | |
jobs: | |
build: | |
strategy: | |
matrix: | |
os: [windows-latest, ubuntu-latest] | |
java-version: [11, 17] | |
name: Checkout and Build | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: JDK setup | |
uses: actions/setup-java@v3 | |
with: | |
java-version: ${{ matrix.java-version }} | |
distribution: 'temurin' | |
cache: maven | |
- name: Build with Maven | |
run: mvn --batch-mode --update-snapshots install -DjacocoAgg | |
- name: Run pre-commit tests | |
uses: pre-commit/[email protected] | |
with: | |
extra_args: --all-files --verbose | |
- name: Test with Maven | |
if: (matrix.java-version == 8) | |
run: mvn --batch-mode verify -DjacocoAgg |