Skip to content

Commit 5c09bf7

Browse files
committed
GH Actions/CS workflow: validate the code style of the XSD file
1 parent 757838a commit 5c09bf7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/cs.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,9 @@ jobs:
7171
run: xmllint --noout --schema DocsXsd/phpcsdocs.xsd ./PHPCSDebug/Docs/*/*Standard.xml
7272

7373
# Check code-style consistency of the XSD and XML files.
74+
- name: Check XSD code style
75+
run: diff -B ./DocsXsd/phpcsdocs.xsd <(xmllint --format "./DocsXsd/phpcsdocs.xsd")
76+
7477
- name: Check Ruleset XML code style
7578
run: diff -B ./PHPCSDebug/ruleset.xml <(xmllint --format "./PHPCSDebug/ruleset.xml")
7679

0 commit comments

Comments
 (0)