workflow: +yml path filter, pycolors?, online/implied ansible-lint requirements

This commit is contained in:
Josh Lay 2025-10-19 11:15:30 -05:00
parent a3d44f5a41
commit 7c04bd4863
Signed by: jlay
SSH key fingerprint: SHA256:RwEMoWwXniQX1sqHfSD+3z+LKU/TOkv3i1qsy75vfec
2 changed files with 4 additions and 3 deletions

View file

@ -6,6 +6,8 @@ on: # yamllint disable-line rule:truthy
push: push:
branches: branches:
- master - master
paths:
- '**/*.yml'
schedule: schedule:
- cron: "20 4 * * 0" - cron: "20 4 * * 0"
@ -22,6 +24,8 @@ jobs:
cache: 'pip' cache: 'pip'
- run: pip install -r requirements.txt - run: pip install -r requirements.txt
env:
PY_COLORS: '1'
- name: cache '.ansible/collections' - name: cache '.ansible/collections'
id: cache-collections id: cache-collections
@ -30,9 +34,6 @@ jobs:
path: /home/runner/.ansible path: /home/runner/.ansible
key: zfs_dkms-runner-dot-ansible key: zfs_dkms-runner-dot-ansible
- run: ansible-galaxy collection install -r meta/requirements.yml
- run: ansible-lint - run: ansible-lint
env: env:
PY_COLORS: '1'
ANSIBLE_FORCE_COLOR: '1' ANSIBLE_FORCE_COLOR: '1'