Use actions/setup-python's pip cache

This commit is contained in:
Hugo van Kemenade 2021-11-21 17:44:49 +02:00
parent b3fb55586c
commit 754d94374b
5 changed files with 5 additions and 26 deletions

View file

@ -19,18 +19,12 @@ jobs:
with:
fetch-depth: 0
- name: Cache
uses: actions/cache@v2
with:
path: ~/.cache/pip
key: deploy-${{ hashFiles('**/setup.py') }}
restore-keys: |
deploy-
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: "3.10"
cache: pip
cache-dependency-path: "setup.py"
- name: Install dependencies
run: |