Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Cache pip packages

Roland Geideraf9a7b8f701a
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 968eef22c..a85aafd96 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -25,6 +25,14 @@ jobs:
steps:
- uses: actions/checkout@v2
+ - name: Cache dependencies
+ uses: actions/cache@v2
+ 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@v2
with: