Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.10.1 to 3.11.1 #4
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 | |
on: | |
pull_request: | |
branches: | |
- 'main' | |
- 'hotfix/v*.*.*' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
java: [ '17', '21' ] | |
steps: | |
- name: Checkout project | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Set up JDK ${{ matrix.java }} | |
uses: actions/setup-java@v4 | |
with: | |
java-version: ${{ matrix.java }} | |
distribution: 'temurin' | |
cache: maven | |
- name: Check style | |
run: mvn checkstyle:check | |
- name: Build | |
run: mvn clean compile | |
- name: Test | |
run: mvn test | |
- name: Publish test report | |
if: always() | |
uses: mikepenz/action-junit-report@v4 | |
with: | |
report_paths: '**/target/surefire-reports/TEST-*.xml' | |
- name: Sonar | |
if: matrix.java == '17' | |
run: mvn verify sonar:sonar | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} |