Skip to content

Commit c6e3159

Browse files
committed
build(ci): action/cache version to 3
1 parent 54e68a4 commit c6e3159

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
with:
2121
python-version: ${{ matrix.python-version }}
2222
- name: cache pip
23-
uses: actions/cache@v2
23+
uses: actions/cache@v3
2424
with:
2525
path: ~/.cache/pip
2626
key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }}

.github/workflows/publish.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,14 @@ jobs:
3232
uses: actions/setup-python@v3
3333
with:
3434
python-version: 3.9
35+
- name: cache pip
36+
uses: actions/cache@v3
37+
with:
38+
path: ~/.cache/pip
39+
key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }}
40+
restore-keys: |
41+
${{ runner.os }}-pip-
42+
${{ runner.os }}-
3543
- name: Install dependencies
3644
run: |
3745
python3 -m pip install poetry

0 commit comments

Comments
 (0)