Skip to content

Issue #903: update to Checkstyle 12.1.0 #797

Issue #903: update to Checkstyle 12.1.0

Issue #903: update to Checkstyle 12.1.0 #797

Workflow file for this run

name: CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
install:
strategy:
matrix:
platform: [ubuntu-latest, macos-latest, windows-latest]
jdk: [17, 21]
runs-on: ${{ matrix.platform }}
permissions:
checks: write
pull-requests: write
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
fetch-depth: 50
- name: Setup local maven cache
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
with:
path: ~/.m2/repository
key: maven-cache-${{ hashFiles('**/pom.xml') }}
- name: Set up JDKs
uses: actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165 # v5.0.0
with:
distribution: temurin
# have Java 17 for Tycho last, as it will be in JAVA_HOME that way
java-version: |
${{ matrix.jdk }}
17
- name: Build with Maven
run: ./mvnw --errors --no-transfer-progress install
- name: Difference Check
run: ./.ci/validation.sh git-diff
- name: Publish Test Results
uses: EnricoMi/publish-unit-test-result-action@3a74b2957438d0b6e2e61d67b05318aa25c9e6c6 # v2.20.0
# we only want to attach test results one time, not for every matrix combination
if: startsWith(matrix.platform, 'ubuntu') && (matrix.jdk == 17)
with:
files: '**/target/surefire-reports/*.xml'