Cache ansible requirements

This commit is contained in:
Jake Howard 2020-04-23 20:54:54 +01:00
parent 89ba23719c
commit de4d2ab26b
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -11,6 +11,10 @@ jobs:
uses: actions/setup-python@v1 uses: actions/setup-python@v1
with: with:
python-version: 3.7 python-version: 3.7
- uses: actions/cache@v1
with:
path: ~/.cache/pip
key: pip-${{ hashFiles('requirements.txt') }}-${{ hashFiles('dev-requirements.txt') }}
- name: Install dependencies - name: Install dependencies
run: ./scripts/ansible/setup.sh run: ./scripts/ansible/setup.sh
- name: Run linters - name: Run linters