generated from the-liberated-edge/wikijs
Set up proper task dependency for linters
This commit is contained in:
parent
84200615bf
commit
df7c944fa4
@ -173,6 +173,9 @@ Lint all YAML documents.
|
||||
task lint-yml
|
||||
```
|
||||
|
||||
Note that this task will trigger formatting of all YAML documents
|
||||
in the repository as a prerequisite to linting.
|
||||
|
||||
Use `ansible-lint` to verify good practices relevant to Ansible.
|
||||
|
||||
```
|
||||
|
||||
@ -4,6 +4,7 @@ tasks:
|
||||
format-yml:
|
||||
cmds: [yamlfix .]
|
||||
lint-yml:
|
||||
deps: [format-yml]
|
||||
cmds: [yamllint .]
|
||||
lint-ansible:
|
||||
deps: [lint-yml]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user