Skip to content

Commit

Permalink
Enable GHA caching for galaxy (#2617)
Browse files Browse the repository at this point in the history
  • Loading branch information
ssbarnea authored Oct 25, 2022
1 parent f3a3fe4 commit dc5e194
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit dc5e194

Please sign in to comment.