Upgrade dependencies and plugins to latest stable #483
Workflow file for this run
This file contains hidden or 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
| # SPDX-FileCopyrightText: Copyright (c) 2022-2026 Yegor Bugayenko | |
| # SPDX-License-Identifier: MIT | |
| --- | |
| # yamllint disable rule:line-length | |
| name: mvn | |
| 'on': | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| branches: | |
| - master | |
| jobs: | |
| mvn: | |
| timeout-minutes: 15 | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-24.04, windows-2022, macos-15] | |
| java: [17, 21] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-java@v4 | |
| with: | |
| distribution: 'temurin' | |
| java-version: ${{ matrix.java }} | |
| - uses: actions/cache@v4 | |
| with: | |
| path: ~/.m2/repository | |
| key: ${{ runner.os }}-jdk-${{ matrix.java }}-maven-${{ hashFiles('**/pom.xml') }} | |
| restore-keys: | | |
| ${{ runner.os }}-jdk-${{ matrix.java }}-maven- | |
| - run: java -version | |
| - run: mvn -version | |
| - run: mvn --errors --batch-mode clean install -Pqulice | |
| - name: Dump test and pit reports on failure | |
| if: failure() | |
| shell: bash | |
| run: | | |
| set +e | |
| echo "=== surefire reports ===" | |
| for f in target/surefire-reports/*.txt target/surefire-reports/*.xml; do | |
| [ -f "$f" ] || continue | |
| echo "--- $f ---" | |
| cat "$f" | |
| done | |
| echo "=== pit-reports/index.html ===" | |
| [ -f target/pit-reports/index.html ] && cat target/pit-reports/index.html | head -200 | |
| echo "=== qulice/checkstyle reports ===" | |
| find target -name "*.txt" -path "*qulice*" -exec cat {} \; |