build(jreleaser): use categorized scopes in changelogs #1638
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': '21', 'opts': '' } | |
] | |
name: Build with Java ${{ matrix.java.version }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-java@v4 | |
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@v4 | |
- uses: wagoid/commitlint-github-action@v5 | |
compatibility: | |
runs-on: ubuntu-latest | |
name: Compatibility Check | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-java@v4 | |
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 |