ci: Add yamllint to CI linter job

This adds yamllint to the CI linter job and sets the maximum line
length to 140 like in kubevirt/kubevirt.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
This commit is contained in:
Felix Matouschek
2024-02-28 16:40:33 +01:00
parent 3e310dc1ba
commit 77ece9d466
25 changed files with 34 additions and 4 deletions

View File

@@ -39,7 +39,12 @@ jobs:
python -m pip install --upgrade pip
pip install yamllint ansible-core ansible-lint
- name: Run linter
- name: Run yamllint
run: |
yamllint .
working-directory: ${{ env.collection_dir }}
- name: Run ansible-lint
run: |
ansible-lint --version
ansible-lint -v