Skip to content

Commit 8e38877

Browse files
committed
Upgrade GitHub cache version
1 parent a02a9d4 commit 8e38877

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/format_check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ jobs:
1212
with:
1313
python-version: 3.9.x
1414
- name: Cache pip
15-
uses: actions/cache@v1
15+
uses: actions/cache@v4
1616
with:
1717
path: ~/.cache/pip
18-
key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }}
18+
key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }}-${{ hashFiles('dev.requirements.txt') }}
1919
restore-keys: |
2020
${{ runner.os }}-pip-
2121
${{ runner.os }}-

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ jobs:
1717
with:
1818
python-version: '3.10'
1919
- name: Cache pip
20-
uses: actions/cache@v1
20+
uses: actions/cache@v4
2121
with:
2222
path: ~/.cache/pip
23-
key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }}
23+
key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }}-${{ hashFiles('dev.requirements.txt') }}
2424
restore-keys: |
2525
${{ runner.os }}-pip-
2626
${{ runner.os }}-

0 commit comments

Comments
 (0)