Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

setup-python already has a cache

Roland Geiderd59957c5691c
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 082926244..bfa555d8e 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -16,23 +16,15 @@ jobs:
strategy:
matrix:
#TODO: pypy3 has problems compiling lxml
- python-version: [ '3.9', '3.10']
+ python-version: [ '3.9', '3.10' ]
name: CI job (python ${{ matrix.python-version }})
steps:
- uses: actions/checkout@v3
-
- - name: Cache dependencies
- uses: actions/[email protected]
- with:
- path: ~/.cache/pip
- key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }}
- restore-keys: |
- ${{ runner.os }}-pip-
-
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
+ cache: 'pip'
python-version: ${{ matrix.python-version }}
- name: Display Python version