Cleanup yaml formatting (#5151)

* Add yamllint config.
* Add yamllint workflow.
* Cleanup linting issues.
* Remove unnecessary `set -x -e` from workflows.

Signed-off-by: SuperQ <superq@gmail.com>
This commit is contained in:
Ben Kochie
2022-02-02 18:11:08 +01:00
committed by GitHub
parent 911891f485
commit 7d9ad0872c
11 changed files with 146 additions and 122 deletions

17
.yamllint Normal file
View File

@@ -0,0 +1,17 @@
---
extends: default
rules:
braces:
max-spaces-inside: 1
level: error
brackets:
max-spaces-inside: 1
level: error
document-start: disable
hyphens:
max-spaces-after: 1
indentation:
spaces: 2
line-length: disable
truthy: disable