mirror of
https://invent.kde.org/frameworks/kimageformats.git
synced 2025-05-28 00:30:23 -04:00
Add xml/yaml linting
This commit is contained in:
parent
f608441b03
commit
f7f07e53e0
@ -18,3 +18,5 @@ image_json_validate:
|
|||||||
- Linux
|
- Linux
|
||||||
script:
|
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"
|
- 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
|
||||||
|
Loading…
Reference in New Issue
Block a user