Bump commons-logging:commons-logging from 1.2 to 1.3.0 #39
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
# vim:ai et ts=2 sts=2 sw=2: | |
name: Build | |
on: | |
pull_request: | |
push: | |
branches: | |
- 'master' | |
jobs: | |
build: | |
name: Build (Java ${{ matrix.java-version }}) | |
runs-on: ubuntu-latest | |
strategy: | |
# We need multiple builds to run even if the 1st one is failing, because | |
# test failures may be Java-specific (or the tests themselves flaky). | |
fail-fast: false | |
matrix: | |
java-version: [ '8', '11', '17' ] | |
# A possible workaround for <https://github.com/dorny/test-reporter/issues/168>. | |
permissions: | |
checks: write | |
contents: write | |
pull-requests: write | |
statuses: write | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Java ${{ matrix.java-version }} | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'zulu' | |
java-version: ${{ matrix.java-version }} | |
java-package: jdk | |
- name: Cache local Maven repository | |
uses: actions/cache@v3 | |
with: | |
path: ~/.m2/repository | |
key: maven-build-${{ hashFiles('**/pom.xml') }} | |
restore-keys: | | |
maven-build- | |
- name: Maven build | |
run: mvn -B -Dstyle.color=always clean package | |
shell: bash |