diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 048238bf..a661a16b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -59,6 +59,8 @@ jobs: uses: actions/setup-python@v1 with: python-version: 3.10.14 + cache: 'pip' # caching pip dependencies + - run: pip install -r requirements.txt --disable-pip-version-check - name: Install ansible-base (v${{ matrix.ansible }}) run: pip install https://github.com/ansible/ansible/archive/v${{ matrix.ansible }}.tar.gz --disable-pip-version-check @@ -69,9 +71,6 @@ jobs: name: collection path: .cache/collection-tarballs - - name: Install requirements - run: pip install -r requirements.txt - - name: Create ansible.cfg file run: | echo "[galaxy]" > ansible.cfg