From 2e1266728df81099c5d9ab44071cc95e3e1e747b Mon Sep 17 00:00:00 2001 From: gsergiu <4517853+gsergiu@users.noreply.github.com> Date: Thu, 30 Jan 2025 16:52:27 +0100 Subject: [PATCH] added maven version --- .github/workflows/build_test_analyse.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_test_analyse.yml b/.github/workflows/build_test_analyse.yml index 8a82e751..d1dcba88 100644 --- a/.github/workflows/build_test_analyse.yml +++ b/.github/workflows/build_test_analyse.yml @@ -6,10 +6,15 @@ jobs: name: Build runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - name: Set up GIT Checkout + uses: actions/checkout@v4 with: # Shallow clones should be disabled for a better relevancy of analysis fetch-depth: 0 + - name: Set up maven + uses: stCarolas/setup-maven@v5 + with: + maven-version: 3.9.9 - name: Set up JDK 17 uses: actions/setup-java@v4 with: @@ -22,7 +27,7 @@ jobs: with: path: ~/.sonar/cache key: ${{ runner.os }}-sonar - restore-keys: ${{ runner.os }}-sonar + restore-keys: ${{ runner.os }}-sonar - name: Build, run tests and analyse run: mvn -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Pcoverage -Dsonar.projectKey=europeana_entity-management env: