Skip to content

feat: migrate to multimodule project structure #81

feat: migrate to multimodule project structure

feat: migrate to multimodule project structure #81

Workflow file for this run

name: Build on Pull Request
on:
pull_request:
branches:
- 'master'
jobs:
test:
name: Unit & Integration Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Cache local Maven repository
uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-maven-
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '17'
- name: Run Maven Verify
run: mvn -B clean verify
sonar:
name: SonarCloud Scan
runs-on: ubuntu-latest
needs: [ test ]
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '17'
- name: Run SonarCloud scan
run: mvn -B clean verify sonar:sonar -Pcoverage -Dsonar.login=${{ secrets.SONAR_TOKEN }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}