EvoBSD/.drone.yml
Patrick Marchand 896548c14c
Some checks failed
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is failing
lint markdown files
Makes sure the documentation will render correctly
2020-06-04 11:42:46 -04:00

22 lines
615 B
YAML

---
kind: pipeline
type: docker
name: default
steps:
- name: lint markdown files
image: pipelinecomponents/remark-lint:latest
commands:
- "remark --no-stdout --color --use preset-lint-recommended ."
- name: lint yaml files
image: pipelinecomponents/yamllint:latest
commands:
- "yamllint ."
- name: lint ansible scripts
image: pipelinecomponents/ansible-lint:latest
commands:
- "find . -maxdepth 1 -name '*.yml' | sort | grep -v '.drone.yml' | xargs ansible-playbook --syntax-check --list-tasks"
- "find . -maxdepth 1 -name '*.yml' | sort | grep -v '.drone.yml' | xargs ansible-lint"