Skip to content

Commit 298494d

Browse files
Use setup-python pip cache (#164)
1 parent c32217e commit 298494d

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

.github/workflows/lint.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,7 @@ jobs:
1616
uses: actions/setup-python@v5
1717
with:
1818
python-version: ${{ matrix.python-version }}
19-
20-
- uses: actions/cache@v3
21-
with:
22-
path: ~/.cache/pip
23-
key: ${{ runner.os }}-pip-${{ hashFiles('**/pyproject.toml') }}
24-
restore-keys: |
25-
${{ runner.os }}-pip-
19+
cache: "pip"
2620

2721
- name: Install dependencies
2822
run: |

.github/workflows/test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ jobs:
2424
with:
2525
python-version: ${{ matrix.python_version }}
2626
allow-prereleases: true
27+
cache: "pip"
2728
- name: Install system dependencies
2829
if: matrix.os == 'ubuntu-latest'
2930
run: |

0 commit comments

Comments
 (0)