Skip to content

Commit

Permalink
Merge pull request #1913 from ProgrammeVitam/gh-actions-cache
Browse files Browse the repository at this point in the history
Story #11854 Clean code: Fix Sonar build
  • Loading branch information
marob authored Jun 24, 2024
2 parents 03ed6aa + d62f498 commit 97e842a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,14 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Restore maven cache # We need maven cache for Sonar to have access to java libraries code
uses: actions/cache/restore@v4
with:
fail-on-cache-miss: true
path: |
~/.m2/repository/*/*/*
!~/.m2/repository/org/owasp/dependency-check-data
key: maven-${{ runner.os }}-${{ hashFiles('**/pom.xml') }}
- name: Download frontend test reports
uses: actions/download-artifact@v4
with:
Expand Down

0 comments on commit 97e842a

Please sign in to comment.