Skip to content

Commit 17d5542

Browse files
authored
ci: Cache using setup-python action
1 parent 610710e commit 17d5542

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -31,20 +31,12 @@ jobs:
3131
with:
3232
fetch-depth: 1
3333

34-
- name: pycache
35-
uses: actions/cache@v4
36-
id: pycache
37-
with:
38-
path: ~/.cache/pip
39-
key: ${{ runner.os }}-pip-${{ hashFiles('**/pyproject.toml') }}
40-
restore-keys: |
41-
${{ runner.os }}-pip-
42-
4334
- name: Setup python ${{ matrix.python-version }}
4435
uses: actions/setup-python@v5
4536
with:
4637
python-version: ${{ matrix.python-version }}
4738
allow-prereleases: true
39+
cache: 'pip'
4840

4941
- name: Install tox and test related
5042
run: |

0 commit comments

Comments
 (0)