Cache ansible requirements
This commit is contained in:
parent
89ba23719c
commit
de4d2ab26b
1 changed files with 4 additions and 0 deletions
4
.github/workflows/ansible.yml
vendored
4
.github/workflows/ansible.yml
vendored
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue