Files
ansible-role-auth-duo/.woodpecker/lint.yml

30 lines
572 B
YAML
Raw Normal View History

2023-10-13 12:06:24 +13:00
clone:
git:
image: woodpeckerci/plugin-git
settings:
recursive: true
submodule_update_remote: true
when:
event: [ push, manual ]
2023-10-10 23:25:49 +13:00
steps:
ansible-lint:
group: test
name: "Lint: Ansible-lint"
image: guisea/ansible-molecule
2023-10-13 09:19:33 +13:00
environment:
PY_COLORS: '1'
ANSIBLE_FORCE_COLOR: '1'
2023-10-10 23:25:49 +13:00
commands:
- ansible-lint -c ".ansible-lint"
when:
event: push
yamllint:
group: test
name: "Lint: Yamllint"
image: guisea/ansible-molecule
commands:
2023-10-13 09:19:33 +13:00
- yamllint -f colored .
2023-10-10 23:25:49 +13:00
when:
event: push