Skip to content

Commit 06d0d20

Browse files
committed
GH Actions/basics: add check for valid XML docs
Verify basic well-formedness of the XML docs.
1 parent 204c963 commit 06d0d20

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/validate.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,10 @@ jobs:
7272
diff -B ./src/Standards/Squiz/ruleset.xml <(xmllint --format "./src/Standards/Squiz/ruleset.xml")
7373
diff -B ./src/Standards/Zend/ruleset.xml <(xmllint --format "./src/Standards/Zend/ruleset.xml")
7474
75+
# Validate the basic well-formedness of the Documentation XML files.
76+
- name: Validate documentation XML
77+
run: xmllint --noout ./src/Standards/*/Docs/*/*Standard.xml
78+
7579
yamllint:
7680
name: 'Lint Yaml'
7781
# Don't run the cronjob in this workflow on forks.

0 commit comments

Comments
 (0)