Skip to content

Commit ebe07bf

Browse files
authored
ci: upgrade actions/cache from v2 (deprecated) to v4 (#2019)
1 parent 93ea5f1 commit ebe07bf

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/test_backend.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
pip install --upgrade pipenv
4444
4545
- name: Cache pip
46-
uses: actions/cache@v2
46+
uses: actions/cache@v4
4747
with:
4848
# This path is specific to Ubuntu
4949
path: ~/.cache/pip
@@ -53,15 +53,15 @@ jobs:
5353
${{ runner.os }}-pip-
5454
5555
- name: Cache pipenv
56-
uses: actions/cache@v2
56+
uses: actions/cache@v4
5757
with:
5858
path: ~/.cache/pipenv
5959
key: ${{ runner.os }}-pipenv-${{ hashFiles('Pipfile.lock') }}
6060
restore-keys: |
6161
${{ runner.os }}-pipenv-
6262
6363
- name: Cache pip-tools
64-
uses: actions/cache@v2
64+
uses: actions/cache@v4
6565
with:
6666
path: ~/.cache/pip-tools
6767
key: ${{ runner.os }}-piptools-${{ hashFiles('**/Pipfile.lock') }}
@@ -70,7 +70,7 @@ jobs:
7070
7171
- name: Cache virtualenv
7272
id: cache-venv
73-
uses: actions/cache@v2
73+
uses: actions/cache@v4
7474
with:
7575
path: ~/.local/share/virtualenvs
7676
key: ${{ runner.os }}-venv-${{ hashFiles('**/Pipfile.lock') }}

0 commit comments

Comments
 (0)