Update dependency org.apache.maven.plugin-tools:maven-plugin-annotations to v3.10.2 #97
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: Build and check doc generation | |
on: pull_request | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout sources 🔰 | |
uses: actions/checkout@v4 | |
- name: Set up Java 17 ☕♨️ | |
uses: actions/[email protected] | |
with: | |
distribution: temurin | |
java-version: 17 | |
java-package: jdk | |
architecture: x64 | |
- name: Handle caching of maven repository 💾 | |
uses: actions/cache@v3 | |
with: | |
path: ~/.m2/repository | |
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} | |
restore-keys: | | |
${{ runner.os }}-maven- | |
- name: Clean and build project 🧽 + 🏗️ | |
run: mvn -B clean install | |
- name: Build documentation 📖 | |
run: mvn -B -P reporting surefire-report:report site | |
- name: Analyse code and publish to SonarQube 📊 | |
run: mvn -B -Dsonar.password=${{ secrets.SONAR_PASSWORD }} sonar:sonar |