From de4d2ab26b21df13373da4b0998349a097f08bdf Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Thu, 23 Apr 2020 20:54:54 +0100 Subject: [PATCH] Cache ansible requirements --- .github/workflows/ansible.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ansible.yml b/.github/workflows/ansible.yml index fbdc7ce..1218eaa 100644 --- a/.github/workflows/ansible.yml +++ b/.github/workflows/ansible.yml @@ -11,6 +11,10 @@ jobs: uses: actions/setup-python@v1 with: python-version: 3.7 + - uses: actions/cache@v1 + with: + path: ~/.cache/pip + key: pip-${{ hashFiles('requirements.txt') }}-${{ hashFiles('dev-requirements.txt') }} - name: Install dependencies run: ./scripts/ansible/setup.sh - name: Run linters