Update dependency org.apache.maven.plugins:maven-checkstyle-plugin to v3.6.0 #874
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: SonarCloud | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
types: [opened, synchronize, reopened] | |
jobs: | |
build: | |
name: Build | |
if: github.repository == 'buschlab/MtbImporter' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis | |
- name: Set up JDK 21 | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'adopt' | |
java-version: '21' | |
- name: Cache SonarCloud packages | |
uses: actions/cache@v4 | |
with: | |
path: ~/.sonar/cache | |
key: ${{ runner.os }}-sonar | |
restore-keys: ${{ runner.os }}-sonar | |
- name: Cache Maven packages | |
uses: actions/cache@v4 | |
with: | |
path: ~/.m2 | |
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} | |
restore-keys: ${{ runner.os }}-m2 | |
- name: Checkout IMI Maven Parent | |
uses: actions/checkout@v4 | |
with: | |
repository: imi-frankfurt/maven | |
ref: 37dab8a52e2c38cb5d45a1c59cacaf4070c668ba | |
- name: Build IMI Maven Parent | |
run: mvn install -Dmaven.javadoc.skip=true -Dmaven.test.skip=true | |
- name: Checkout IMI Spring Parent | |
uses: actions/checkout@v4 | |
with: | |
repository: imi-frankfurt/maven.spring | |
ref: d716857d7e60d7e5a8fb213b93ea30c75958ad12 | |
- name: Build IMI Spring Parent | |
run: mvn install -Dmaven.javadoc.skip=true -Dmaven.test.skip=true | |
- name: Checkout DataElementHub Parent | |
uses: actions/checkout@v4 | |
with: | |
repository: imi-frankfurt/dataelementhub.maven | |
ref: 2bffcdf94cb2e210caa9ea67f84bf8b2e4e56612 | |
- name: Build Build DataElementHub Parent | |
run: mvn install -Dmaven.javadoc.skip=true -Dmaven.test.skip=true | |
- name: Checkout DataElementHub Spring Parent | |
uses: actions/checkout@v4 | |
with: | |
repository: imi-frankfurt/dataelementhub.maven.spring | |
ref: 657516f56f73d7ab07872a3bf736bf258c7e018c | |
- name: Build DataElementHub Spring Parent | |
run: sed -i 's/<version>12.0.0<\/version>/<version>13.0.0<\/version>/' pom.xml && mvn install -Dmaven.javadoc.skip=true -Dmaven.test.skip=true | |
- name: Checkout DataElementHub DAL | |
uses: actions/checkout@v4 | |
with: | |
repository: imi-frankfurt/dataelementhub.dal | |
ref: 1f9cb07c4fed12dba3c09a846e89150c222efbf0 | |
- name: Build DataElementHub DAL | |
run: mvn install -Dmaven.javadoc.skip=true -Dmaven.test.skip=true | |
- name: Checkout DataElementHub Model | |
uses: actions/checkout@v4 | |
with: | |
repository: imi-frankfurt/dataelementhub.model | |
ref: 0ae6275653b8b997253a1e7ad04549f95367d504 | |
- name: Build DataElementHub Model | |
run: sed -i 's/<version>11.3.0<\/version>/<version>13.0.0<\/version>/' pom.xml && sed -i 's/<version>1.18.24<\/version>/<version>1.18.30<\/version>/' pom.xml && mvn install -Dmaven.javadoc.skip=true -Dmaven.test.skip=true | |
- uses: actions/checkout@v4 | |
- name: Build and analyze | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any | |
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} | |
run: mvn -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.organization=buschlab -Dsonar.host.url=https://sonarcloud.io -Dsonar.projectKey=buschlab_MtbImporter |