Skip to content

Commit 2d06cad

Browse files
Bump actions/cache from 3 to 4 (#476)
1 parent da8a7b8 commit 2d06cad

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ jobs:
2020
java-version: 17
2121
distribution: 'temurin'
2222
- name: Cache SonarCloud packages
23-
uses: actions/cache@v3
23+
uses: actions/cache@v4
2424
with:
2525
path: ~/.sonar/cache
2626
key: ${{ runner.os }}-sonar
2727
restore-keys: ${{ runner.os }}-sonar
2828
- name: Cache Maven packages
29-
uses: actions/cache@v3
29+
uses: actions/cache@v4
3030
with:
3131
path: ~/.m2
3232
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
@@ -37,7 +37,7 @@ jobs:
3737
run: echo "CACHE_NAME=$(date '+%y.%j')" >> $GITHUB_ENV
3838

3939
- name: Restore NVD data cache
40-
uses: actions/cache@v3
40+
uses: actions/cache@v4
4141
with:
4242
key: nvd-data-${{ env.CACHE_NAME }}
4343
restore-keys: nvd-data-

.github/workflows/cd-config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222

2323
# Use a cache for the local Maven repository
2424
- name: Cache Maven packages
25-
uses: actions/cache@v3
25+
uses: actions/cache@v4
2626
with:
2727
path: ~/.m2
2828
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}

.github/workflows/ci-config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222

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

3535
- name: Restore NVD data cache
36-
uses: actions/cache@v3
36+
uses: actions/cache@v4
3737
with:
3838
key: nvd-data-${{ env.CACHE_NAME }}
3939
restore-keys: nvd-data-

.github/workflows/nvd-cache.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
NVD_API_KEY: ${{ secrets.NVD_API_KEY }}
4848

4949
- name: Cache NVD data
50-
uses: actions/cache@v3
50+
uses: actions/cache@v4
5151
with:
5252
key: nvd-data-${{ env.CACHE_NAME }}
5353
path: ./data/cache

0 commit comments

Comments
 (0)