Skip to content

Commit 76dcd0c

Browse files
Use setup-python pip caching (#87)
1 parent d12dd01 commit 76dcd0c

2 files changed

Lines changed: 2 additions & 14 deletions

File tree

.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
@@ -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: |

0 commit comments

Comments
 (0)