Skip to content

Commit 5b3bbae

Browse files
committed
Use pip cache from setup-python
1 parent 257b617 commit 5b3bbae

File tree

1 file changed

+1
-14
lines changed

1 file changed

+1
-14
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -61,20 +61,7 @@ jobs:
6161
uses: actions/setup-python@v4
6262
with:
6363
python-version: ${{ matrix.python-version }}
64-
65-
- name: Get pip cache dir
66-
id: pip-cache
67-
run: |
68-
echo "dir=$(pip cache dir)" >> $GITHUB_OUTPUT
69-
70-
- name: Cache
71-
uses: actions/cache@v3
72-
with:
73-
path: ${{ steps.pip-cache.outputs.dir }}
74-
key:
75-
${{ matrix.python-version }}-v1-${{ hashFiles('**/setup.cfg') }}-${{ hashFiles('**/tox.ini') }}
76-
restore-keys: |
77-
${{ matrix.python-version }}-v1-
64+
cache: pip
7865

7966
- name: Install dependencies
8067
run: |

0 commit comments

Comments
 (0)