workflow/lint: pip-install with setup-python
Some checks failed
ci-lint / test (push) Failing after 17s

This commit is contained in:
Josh Lay 2025-10-19 08:27:59 -05:00
parent c7c7bfe1b1
commit 7d959cce64
Signed by: jlay
SSH key fingerprint: SHA256:RwEMoWwXniQX1sqHfSD+3z+LKU/TOkv3i1qsy75vfec

View file

@ -25,6 +25,7 @@ jobs:
- uses: actions/setup-python@v6 - uses: actions/setup-python@v6
with: with:
cache: 'pip' cache: 'pip'
pip-install: ansible-core ansible-lint
- name: cache '.ansible/collections' - name: cache '.ansible/collections'
id: cache-collections id: cache-collections
@ -33,9 +34,8 @@ jobs:
path: /root/.ansible path: /root/.ansible
key: zfs_dkms-dot-ansible key: zfs_dkms-dot-ansible
- name: ansible/collections - name: ansible collections
run: | run: |
pip install ansible-core ansible-lint
ansible-galaxy collection install -r meta/requirements.yml ansible-galaxy collection install -r meta/requirements.yml
- name: ansible-lint - name: ansible-lint