Auto fix images and JSON. Lint YAML.
This commit is contained in:
14
.github/workflows/lint.yaml
vendored
14
.github/workflows/lint.yaml
vendored
@@ -29,3 +29,17 @@ jobs:
|
||||
- run: |
|
||||
npx awesome-lint --version
|
||||
npx awesome-lint
|
||||
|
||||
lint-yaml:
|
||||
name: Lint YAML files
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2.3.3
|
||||
- uses: actions/setup-python@v2.1.4
|
||||
- name: Install linter
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
python -m pip install yamllint
|
||||
- name: Lint
|
||||
run: |
|
||||
yamllint .
|
||||
|
||||
Reference in New Issue
Block a user