Skip to content

Commit bb29e9a

Browse files
rffontenellewebknjaz
authored andcommitted
Use setup-python v4 pip caching feature
1 parent 6cb33fe commit bb29e9a

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,8 @@ jobs:
2323
uses: actions/setup-python@v4
2424
with:
2525
python-version: 3.9
26-
27-
- name: pip cache
28-
uses: actions/cache@v3
29-
with:
30-
path: ~/.cache/pip
31-
key:
32-
${{ matrix.os }}-${{ matrix.python-version }}-${{ hashFiles('**/requirements.txt') }}-${{ hashFiles('noxfile.py') }}
33-
restore-keys: |
34-
${{ matrix.os }}-${{ matrix.python-version }}-
26+
cache: 'pip'
27+
cache-dependency-path: 'requirements.txt'
3528

3629
- name: Install dependencies
3730
run: |

0 commit comments

Comments
 (0)