Add xml/yaml linting

This commit is contained in:
Laurent Montel 2025-01-25 13:40:54 +01:00
parent f608441b03
commit f7f07e53e0
2 changed files with 9 additions and 7 deletions

View File

@ -18,3 +18,5 @@ image_json_validate:
- Linux
script:
- find src/imageformats/ -name *.json | xargs -I file bash -c "echo file && jq -e '(.Keys | type == \"array\") and (.MimeTypes | type == \"array\") and (.MimeTypes | length) == (.Keys | length)' file"
- /gitlab-templates/xml-lint.yml
- /gitlab-templates/yaml-lint.yml