0
0
mirror of https://github.com/saltstack-formulas/users-formula.git synced 2024-11-30 19:35:33 +01:00

perf(travis): improve salt-lint invocation [skip ci]

* Automated using https://github.com/myii/ssf-formula/pull/90
This commit is contained in:
Imran Iqbal 2019-11-02 08:38:02 +00:00
parent 8df4d39060
commit b45914e063

View File

@ -34,7 +34,7 @@ jobs:
# Install and run `salt-lint` # Install and run `salt-lint`
- pip install --user salt-lint - pip 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
- pip install --user yamllint>=1.17.0 - pip install --user yamllint>=1.17.0