|
|
|
|
|
|
|
|
# Install and run `salt-lint` |
|
|
# Install and run `salt-lint` |
|
|
- pip3 install --user salt-lint |
|
|
- pip3 install --user salt-lint |
|
|
- git ls-files | grep '\.sls$\|\.jinja$\|\.j2$\|\.tmpl$\|\.tst$' |
|
|
- git ls-files | grep '\.sls$\|\.jinja$\|\.j2$\|\.tmpl$\|\.tst$' |
|
|
| xargs -I {} salt-lint {} |
|
|
|
|
|
|
|
|
| xargs salt-lint |
|
|
# Install and run `yamllint` |
|
|
# Install and run `yamllint` |
|
|
# Need at least `v1.17.0` for the `yaml-files` setting |
|
|
# Need at least `v1.17.0` for the `yaml-files` setting |
|
|
- pip3 install --user yamllint>=1.17.0 |
|
|
- pip3 install --user yamllint>=1.17.0 |