This commit is contained in:
parent
216beff86f
commit
ff29027991
1 changed files with 7 additions and 6 deletions
|
@ -15,21 +15,22 @@ jobs:
|
||||||
image: fedora:42 # lock to *latest stable*; rawhide/next is 'latest' tag
|
image: fedora:42 # lock to *latest stable*; rawhide/next is 'latest' tag
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: Checkout
|
- name: Action Requirements
|
||||||
uses: actions/checkout@v3
|
|
||||||
|
|
||||||
- name: Install packages and ansible
|
|
||||||
run: |
|
run: |
|
||||||
echo -e 'max_parallel_downloads=20\ndeltarpm=False\nfastestmirror=False' | tee -a /etc/dnf/dnf.conf
|
echo -e 'max_parallel_downloads=20\ndeltarpm=False\nfastestmirror=False' | tee -a /etc/dnf/dnf.conf
|
||||||
dnf -yq install nodejs git pipx
|
dnf -yq install nodejs git pipx
|
||||||
|
|
||||||
|
- uses: actions/checkout@v3 # definitely needs nodejs, probably git
|
||||||
|
|
||||||
|
- name: ansible/collections
|
||||||
|
run: |
|
||||||
pipx install ansible-core ansible-lint
|
pipx install ansible-core ansible-lint
|
||||||
ansible-galaxy collection install -r meta/requirements.yml
|
ansible-galaxy collection install -r meta/requirements.yml
|
||||||
env:
|
env:
|
||||||
PY_COLORS: '1'
|
PY_COLORS: '1'
|
||||||
ANSIBLE_FORCE_COLOR: '1'
|
ANSIBLE_FORCE_COLOR: '1'
|
||||||
|
|
||||||
- name: Lint
|
- run: ansible-lint
|
||||||
run: ansible-lint
|
|
||||||
env:
|
env:
|
||||||
PY_COLORS: '1'
|
PY_COLORS: '1'
|
||||||
ANSIBLE_FORCE_COLOR: '1'
|
ANSIBLE_FORCE_COLOR: '1'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue