Skip to content

Commit

Permalink
fix: add packages cache in CI for gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
davdarras committed Nov 23, 2023
1 parent c0f5985 commit 932a0a9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/sonar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@ jobs:
path: ~/.sonar/cache
key: ${{ runner.os }}-sonar
restore-keys: ${{ runner.os }}-sonar
- name: Cache Gradle packages
uses: actions/cache@v3
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
restore-keys: ${{ runner.os }}-gradle
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
- name: Build and analyze
Expand Down

0 comments on commit 932a0a9

Please sign in to comment.