Commit c893066e authored by Julius Künzel's avatar Julius Künzel 💬
Browse files

[CI: xmllint] Run for all xml files, but only if change affects any xml file

parent a64c7db5
Pipeline #252745 failed with stage
in 12 minutes and 1 second
......@@ -9,4 +9,11 @@ xml_lint:
- Linux
- xmllint --noout data/effects/*.xml data/effects/*/*.xml data/transitions/*.xml data/transitions/*/*.xml
# enable globstar to be able to use ** as recursive wildcard
- shopt -s globstar
# exit shell on non-zero exit code
- set -e
# execute xmllint for all xml files
- for x in **/*.xml; do echo "Processing $x"; xmllint -noout "$x"; done
- changes: [ "**/*.xml" ]
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment