Skip to content

Bump io.quarkiverse.wiremock:quarkus-wiremock-test from 1.4.0 to 1.4.1 in /backend #154

Bump io.quarkiverse.wiremock:quarkus-wiremock-test from 1.4.0 to 1.4.1 in /backend

Bump io.quarkiverse.wiremock:quarkus-wiremock-test from 1.4.0 to 1.4.1 in /backend #154

name: Build project and run sonarqube analysis
on:
push:
paths:
- backend/**
- .github/workflows/backend-sonarqube-analysis.yml
branches: [ "main" ]
pull_request:
paths:
- backend/**
- .github/workflows/backend-sonarqube-analysis.yml
types: [ opened, reopened, synchronize ]
jobs:
build-and-analyse:
if: ${{ !startsWith(github.ref, 'refs/heads/dependabot') }}
runs-on: ubuntu-latest
strategy:
matrix:
sonar:
- key: "hopps-app_hopps-document-ai"
folder: "app.hopps.az-document-ai"
label: "AZ Document AI"
- key: "hopps-app_hopps-vereine"
folder: "app.hopps.org"
label: "Org"
- key: "hopps-app_hopps-fin"
folder: "app.hopps.fin"
label: "Finanzen"
steps:
- uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: "21"
distribution: "temurin"
cache: maven
- name: mvn package
run: mvn -B verify --file backend/pom.xml
- name: Cache SonarQube packages
uses: actions/cache@v4
with:
path: ~/.sonar/cache
key: ${{ runner.os }}-sonar
restore-keys: ${{ runner.os }}-sonar
- name: SonarQube Scan "${{ matrix.sonar.label }}"
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: |
mvn -B sonar:sonar \
--file backend/${{ matrix.sonar.folder }}/pom.xml \
-Dsonar.host.url=https://sonarcloud.io \
-Dsonar.organization=hopps-app \
-Dsonar.projectKey=${{ matrix.sonar.key }}