Skip to content

Commit a310e0c

Browse files
Use setup-python pip cache (#95)
1 parent 2cb4343 commit a310e0c

File tree

2 files changed

+2
-14
lines changed

2 files changed

+2
-14
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 & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,7 @@ jobs:
2626
uses: actions/setup-python@v5
2727
with:
2828
python-version: ${{ matrix.python-version }}
29-
30-
- uses: actions/cache@v3
31-
with:
32-
path: ~/.cache/pip
33-
key: ${{ runner.os }}-pip-${{ hashFiles('**/pyproject.toml') }}
34-
restore-keys: |
35-
${{ runner.os }}-pip-
29+
cache: "pip"
3630

3731
- name: Install dependencies
3832
run: |

0 commit comments

Comments
 (0)