Skip to content

Commit

Permalink
Bump actions/cache from 3 to 4
Browse files Browse the repository at this point in the history
Bumps [actions/cache](https://github.com/actions/cache) from 3 to 4.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](actions/cache@v3...v4)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
  • Loading branch information
dependabot[bot] authored Jan 22, 2024
1 parent da8a7b8 commit f14f67e
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ jobs:
java-version: 17
distribution: 'temurin'
- name: Cache SonarCloud packages
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.sonar/cache
key: ${{ runner.os }}-sonar
restore-keys: ${{ runner.os }}-sonar
- name: Cache Maven packages
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
Expand All @@ -37,7 +37,7 @@ jobs:
run: echo "CACHE_NAME=$(date '+%y.%j')" >> $GITHUB_ENV

- name: Restore NVD data cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
key: nvd-data-${{ env.CACHE_NAME }}
restore-keys: nvd-data-
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cd-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:

# Use a cache for the local Maven repository
- name: Cache Maven packages
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:

# Use a cache for the local Maven repository
- name: Cache Maven packages
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
Expand All @@ -33,7 +33,7 @@ jobs:
run: echo "CACHE_NAME=$(date '+%y.%j')" >> $GITHUB_ENV

- name: Restore NVD data cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
key: nvd-data-${{ env.CACHE_NAME }}
restore-keys: nvd-data-
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nvd-cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
NVD_API_KEY: ${{ secrets.NVD_API_KEY }}

- name: Cache NVD data
uses: actions/cache@v3
uses: actions/cache@v4
with:
key: nvd-data-${{ env.CACHE_NAME }}
path: ./data/cache

0 comments on commit f14f67e

Please sign in to comment.