diff --git a/.github/workflows/tox.yml b/.github/workflows/tox.yml index eac02d0e49..e0d95b73f7 100644 --- a/.github/workflows/tox.yml +++ b/.github/workflows/tox.yml @@ -183,6 +183,15 @@ jobs: with: fetch-depth: 0 # needed by setuptools-scm + - name: Set cache for galaxy + uses: actions/cache@v3 + with: + path: | + ~/.ansible/galaxy_cache + ~/.ansible/collections/ansible_collections + ~/.ansible/roles/ + key: galaxy-${{ hashFiles('requirements.yml') }} + - name: Set up Python ${{ matrix.python-version }} if: "!contains(matrix.shell, 'wsl')" uses: actions/setup-python@v4