Skip to content

Commit

Permalink
added maven version
Browse files Browse the repository at this point in the history
  • Loading branch information
gsergiu committed Jan 30, 2025
1 parent fd25eca commit 2e12667
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/build_test_analyse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand Down

0 comments on commit 2e12667

Please sign in to comment.