build(maven): use the Jandex Maven plugin from SmallRye rather than JBoss #1476
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: Check pull requests | |
on: | |
pull_request: | |
branches-ignore: | |
- '1.x' | |
concurrency: | |
group: "check-pull-request-${{ github.workflow }}-${{ github.ref }}" | |
cancel-in-progress: true | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
java: [ | |
{ 'version': '11', opts: '' }, | |
{ 'version': '17', 'opts': '' }, | |
{ 'version': '20', 'opts': '' } | |
] | |
name: Build with Java ${{ matrix.java.version }} | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-java@v3 | |
name: set up jdk ${{matrix.java.version}} | |
with: | |
distribution: temurin | |
java-version: ${{matrix.java.version}} | |
cache: maven | |
- name: Build with Maven | |
env: | |
MAVEN_OPTS: ${{ matrix.java.opts }} | |
run: ./mvnw --no-transfer-progress -s .build/maven-ci-settings.xml -B clean verify -Pcoverage | |
- name: Codecov | |
uses: codecov/[email protected] | |
conventional-commits: | |
runs-on: ubuntu-latest | |
name: Check conventional commits | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: wagoid/commitlint-github-action@v5 | |
compatibility: | |
runs-on: ubuntu-latest | |
name: Compatibility Check | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-java@v3 | |
with: | |
java-version: 11 | |
distribution: temurin | |
cache: maven | |
- name: Compatibility Check | |
run: ./mvnw --no-transfer-progress -s .build/maven-ci-settings.xml -pl '!bom' -B install revapi:check@check-compatibility -DskipTests -fae |