workflow/lint: set PATH/shell
Some checks failed
ci-lint / test (push) Failing after 30s

This commit is contained in:
Josh Lay 2025-10-19 07:05:03 -05:00
parent ff29027991
commit aff64b59df
Signed by: jlay
SSH key fingerprint: SHA256:RwEMoWwXniQX1sqHfSD+3z+LKU/TOkv3i1qsy75vfec

View file

@ -23,14 +23,20 @@ jobs:
- uses: actions/checkout@v3 # definitely needs nodejs, probably git - uses: actions/checkout@v3 # definitely needs nodejs, probably git
- name: ansible/collections - name: ansible/collections
shell: bash
run: | run: |
echo /root/.local/bin >> $FORGEJO_PATH
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'
- run: ansible-lint - name: ansible-lint
shell: bash
run: |
echo /root/.local/bin >> $FORGEJO_PATH
ansible-lint
env: env:
PY_COLORS: '1' PY_COLORS: '1'
ANSIBLE_FORCE_COLOR: '1' ANSIBLE_FORCE_COLOR: '1'