Skip to content

Commit

Permalink
Fixing woodpecker. (#235)
Browse files Browse the repository at this point in the history
  • Loading branch information
dessalines committed Mar 27, 2024
1 parent 4ec7ac7 commit f4dad26
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .woodpecker.yml
@@ -1,17 +1,25 @@
pipeline:
steps:
prettier_markdown_check:
image: tmknom/prettier
commands:
- prettier -c "*.md" "*.yml" "examples/vars.yml"
when:
- event: pull_request

check_ansible_format:
image: alpine:3
commands:
- apk add ansible
- ansible-playbook lemmy.yml --syntax-check
- ansible-playbook lemmy-almalinux.yml --syntax-check
- ansible-playbook uninstall.yml --syntax-check
when:
- event: pull_request

ansible_lint:
image: alpine:3
commands:
- apk add ansible ansible-lint
- ansible-lint --warn-list experimental lemmy.yml lemmy-almalinux.yml uninstall.yml examples/vars.yml
when:
- event: pull_request

0 comments on commit f4dad26

Please sign in to comment.