Skip to content

Commit 2c8b637

Browse files
committed
build(ci): use cache from setup-python action
1 parent d43c8de commit 2c8b637

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,7 @@ jobs:
2323
uses: actions/setup-python@v4
2424
with:
2525
python-version: ${{ matrix.python-version }}
26-
- name: Cache pip
27-
uses: actions/cache@v3
28-
with:
29-
path: ~/.cache/pip
30-
key: ${{ runner.os }}-pip-${{ hashFiles('requirements-dev.txt') }}
31-
restore-keys: ${{ runner.os }}-pip-
26+
cache: 'pip'
3227
- name: Install dependencies
3328
run: pip --disable-pip-version-check install --no-compile -r requirements-dev.txt
3429
- name: Check lint

0 commit comments

Comments
 (0)