ci: Add 'check yamls' job in (new) 'check input' stage

Add a new stage 'check input' to our CI configuration to check whether
our input files contain errors.
The first check is for the YAML files whether they contain errors or
warnings according to 'yamllint'.

Add 'yamllint' config file to not consider too long lines as errors.
And fix the errors/warnings in 'salsa-ci.yml' itself.

Apparently job names can contain space, so rename 'build-yamls' to
'build yamls'.
This commit is contained in:
Diederik de Haas
2022-11-11 19:05:57 +01:00
parent 90cc651d17
commit 76fb71f4b1
2 changed files with 19 additions and 2 deletions

6
debian/yamllint.yml vendored Normal file
View File

@@ -0,0 +1,6 @@
---
extends: default
rules:
line-length: disable