workflow: +yml path filter, pycolors?, online/implied ansible-lint requirements
This commit is contained in:
parent
a3d44f5a41
commit
7c04bd4863
2 changed files with 4 additions and 3 deletions
|
@ -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'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue