janverhoeckx is pushing Bump org.apache.maven.plugins:maven-failsafe-plugin from 3.1.2 to 3.2.1 (#47) Bumps [org.apache.maven.plugins:maven-failsafe-plugin](https://github.com/apache/maven-surefire) from 3.1.2 to 3.2.1. <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/apache/maven-surefire/commit/df9f657cb241c1f55ddde884249588080facffe3"><code>df9f657</code></a> [maven-release-plugin] prepare release surefire-3.2.1</li> <li><a href="https://github.com/apache/maven-sure... #43
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: Master builder | |
run-name: ${{ github.actor }} is pushing ${{ github.event.head_commit.message }} to main | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build-master: | |
runs-on: ubuntu-latest | |
timeout-minutes: 15 | |
steps: | |
- name: ⚙ Checkout branch | |
uses: actions/checkout@v4 | |
- name: 🛈 Get commit message | |
id: get-commit-message | |
run: echo "COMMIT_MESSAGE=`git show -s --format=%s`" >> $GITHUB_OUTPUT | |
- name: ⚙ Install java and restore maven cache | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: '17' | |
cache: 'maven' | |
- name: 💾 Cache SonarCloud packages | |
uses: actions/cache@v3 | |
with: | |
path: ~/.sonar/cache | |
key: ${{ runner.os }}-sonar | |
restore-keys: ${{ runner.os }}-sonar | |
- name: ⚙ Build master and sonarcloud | |
env: | |
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} | |
run: > | |
mvn -U | |
-Drevision=${{ github.sha }} | |
clean org.jacoco:jacoco-maven-plugin:prepare-agent verify sonar:sonar | |
- name: 🗸 Sonar quality gate check | |
uses: sonarsource/sonarqube-quality-gate-action@master | |
timeout-minutes: 5 | |
env: | |
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} | |
with: | |
scanMetadataReportFile: target/sonar/report-task.txt |