Skip to content

Bump org.apache.maven.plugins:maven-compiler-plugin from 3.14.1 to 3.15.0 #2656

Bump org.apache.maven.plugins:maven-compiler-plugin from 3.14.1 to 3.15.0

Bump org.apache.maven.plugins:maven-compiler-plugin from 3.14.1 to 3.15.0 #2656

Workflow file for this run

name: Build
on:
pull_request:
branches:
- main
- v*
push:
branches:
- main
- v*
workflow_call: {}
workflow_dispatch: {}
jobs:
validate:
name: Validate
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Checkout repository
uses: actions/checkout@v6
###
### Lint scripts and configuration files.
###
#- name: Validate shell scripts
# uses: ludeeus/action-shellcheck@master
# if: ${{ ! cancelled() }}
# with:
# check_together: 'yes'
# scandir: ./scripts
- name: Validate codecov.yml
shell: bash
if: ${{ ! cancelled() }}
run: curl -si --fail-with-body --data-binary @codecov.yml https://codecov.io/validate
###
### Lint GitHub Actions for issues.
###
- name: Lint GitHub Actions
shell: bash
if: ${{ ! cancelled() }}
run: >-
docker run
--rm
--user "$(id -u "${USER}"):$(id -g "${USER}")"
--volume "$(pwd):/repo"
--workdir /repo
rhysd/actionlint:latest
-color
-verbose
###
### Lint Java, export information about current environment for
### the next jobs to utilise.
###
- name: Initialize Java
uses: actions/setup-java@v5
if: always()
with:
cache: maven
distribution: zulu
java-version: 25
- name: Validate license headers and code style
shell: bash
if: ${{ ! cancelled() }}
# Purposely compile here so errorprone can run when we turn it on
run: ./mvnw -B validate compile test-compile -DskipTests
build:
name: Build on JDK ${{ matrix.java-version }} (${{ matrix.os-name }})
runs-on: ${{ matrix.os-name }}
needs:
- validate
strategy:
fail-fast: false
matrix:
os-name: [ubuntu-latest]
java-version:
- 17 # LTS
- 21 # LTS
- 25 # LTS
include:
- os-name: windows-11-arm
java-version: 23 # Latest Temurin for ARM
- os-name: macos-latest
java-version: 25 # LTS
steps:
- name: Checkout repository
uses: actions/checkout@v6
with:
fetch-depth: 2
- name: Initialize JDK
uses: actions/setup-java@v5
with:
check-latest: true
distribution: temurin
java-version: ${{ matrix.java-version }}
- name: Maven cache
uses: actions/cache@v5
env:
cache-name: maven-cache
with:
path:
~/.m2
key: build-${{ env.cache-name }}
- name: Compile and run tests
shell: bash
run: ./mvnw -B -U clean verify
- name: Upload to codecov
uses: codecov/codecov-action@v5
with:
name: tests-java-${{ matrix.java-version }}-os-${{ matrix.os-name }}
token: ${{ secrets.CODECOV_TOKEN }}
- name: Stash reports
uses: actions/upload-artifact@v6
if: always()
with:
name: reports-${{ matrix.java-version }}-${{ matrix.os-name }}
if-no-files-found: error
path: |
**/surefire-reports/**
**/failsafe-reports/**
**/build*.log
retention-days: 30
notify-coverage:
name: Notify of coverage
runs-on: ubuntu-latest
timeout-minutes: 30
needs:
- build
steps:
- name: Checkout code
uses: actions/checkout@v6
- name: Publish code coverage
uses: codecov/codecov-action@v5
continue-on-error: true
if: always()
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true
run_command: send-notifications