diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1f4acea..36c571e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -51,6 +51,18 @@ jobs: * fdad:bad:ba55::/64 EOF + - name: Restore Ansible cache + uses: actions/cache/restore@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # 4.0 + with: + path: ~/.ansible/collections + key: ansible-${{ hashFiles('collections/requirements.yml') }} + + - name: Set up Python ${{ env.PYTHON_VERSION }} + uses: actions/setup-python@75f3110429a8c05be0e1bf360334e4cced2b63fa # 2.3.3 + with: + python-version: ${{ env.PYTHON_VERSION }} + cache: 'pip' # caching pip dependencies + - name: Install dependencies run: | echo "::group::Upgrade pip"