ci: Add cache step

This commit is contained in:
Michael Currin
2020-10-17 17:21:54 +02:00
parent f22c1fe04d
commit 8601582a74

View File

@@ -16,6 +16,15 @@ jobs:
- name: Set up Python 3.x
uses: actions/setup-python@v2
- name: Cache dependencies
uses: actions/cache@v2
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
${{ runner.os }}-
- name: Install dependencies
run: cd docs && make install