Baseline Java 17, drop Java 11 #3252
Workflow file for this run
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: Pull Request Build | |
on: | |
pull_request: | |
branches: | |
- main | |
- 4.x | |
- 4.24.x | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
continue-on-error: ${{ matrix.java.continue-on-error == true }} | |
strategy: | |
matrix: | |
java: [ | |
{ | |
'name': '', | |
'version': '17', | |
}, | |
{ | |
'name': '', | |
'version': '21', | |
}, | |
{ | |
'name': '', | |
'version': '23', | |
}, | |
{ | |
'version': '21', | |
'build_opts': '-Pslow-flaky-tests -Drevapi.skip=true -Dformat.skip=true', | |
'name': 'Slow and Flaky tests', | |
'continue-on-error': true | |
} | |
] | |
name: Build with Java ${{ matrix.java.version }} ${{ matrix.java.name }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-java@v4 | |
with: | |
java-version: ${{ matrix.java.version }} | |
distribution: temurin | |
cache: maven | |
- name: Build with Maven | |
env: | |
MAVEN_OPTS: ${{ matrix.java.opts }} | |
run: | | |
mvn -s .build/ci-maven-settings.xml -Dmaven.resolver.transport=wagon \ | |
-B clean install -Pcoverage -Dtest-containers=true ${{ matrix.java.build_opts }} | |
- name: Codecov | |
uses: codecov/codecov-action@v5.1.1 | |
if: false |