workflow/lint: pip-install with setup-python
Some checks failed
ci-lint / test (push) Failing after 17s
Some checks failed
ci-lint / test (push) Failing after 17s
This commit is contained in:
parent
c7c7bfe1b1
commit
7d959cce64
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue