Skip to content

Issue #750: update to Checkstyle 10.18.2 #518

Issue #750: update to Checkstyle 10.18.2

Issue #750: update to Checkstyle 10.18.2 #518

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@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
with:
fetch-depth: 50
- name: Setup local maven cache
uses: actions/cache@2cdf405574d6ef1f33a1d12acccd3ae82f47b3f2 # v4.1.0
with:
path: ~/.m2/repository
key: maven-cache-${{ hashFiles('**/pom.xml') }}
- name: Set up JDKs
uses: actions/setup-java@b36c23c0d998641eff861008f374ee103c25ac73 # v4.4.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@82082dac68ad6a19d980f8ce817e108b9f496c2a # v2.17.1
# 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'