build(deps): bump com.googlecode.maven-download-plugin:download-maven… #530
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: 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@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 | |
with: | |
fetch-depth: 50 | |
- name: Setup local maven cache | |
uses: actions/cache@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4.1.1 | |
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' |