Skip to content

Commit a1d8bab

Browse files
authored
Bump actions/cache to v4 (#9353)
https://github.com/actions/cache
1 parent 354627a commit a1d8bab

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/linter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
pip install pre-commit
4040
- name: Set PY
4141
run: echo "PY=$(python -VV | sha256sum | cut -d' ' -f1)" >> $GITHUB_ENV
42-
- uses: actions/cache@v3
42+
- uses: actions/cache@v4
4343
with:
4444
path: ~/.cache/pre-commit
4545
key: pre-commit|${{ env.PY }}|${{ hashFiles('.pre-commit-config.yaml') }}

.github/workflows/main-sonar-check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,14 @@ jobs:
4444
cache: 'maven'
4545

4646
- name: Cache SonarCloud packages
47-
uses: actions/cache@v3
47+
uses: actions/cache@v4
4848
with:
4949
path: ~/.sonar/cache
5050
key: ${{ runner.os }}-sonar
5151
restore-keys: ${{ runner.os }}-sonar
5252

5353
- name: Cache local Maven repository
54-
uses: actions/cache@v3
54+
uses: actions/cache@v4
5555
with:
5656
path: ~/.m2/repository
5757
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}

.github/workflows/sonar-check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,14 @@ jobs:
4646
cache: 'maven'
4747

4848
- name: Cache SonarCloud packages
49-
uses: actions/cache@v3
49+
uses: actions/cache@v4
5050
with:
5151
path: ~/.sonar/cache
5252
key: ${{ runner.os }}-sonar
5353
restore-keys: ${{ runner.os }}-sonar
5454

5555
- name: Cache local Maven repository
56-
uses: actions/cache@v3
56+
uses: actions/cache@v4
5757
with:
5858
path: ~/.m2/repository
5959
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}

0 commit comments

Comments
 (0)