File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -42,11 +42,24 @@ jobs:
4242 pattern : " ./src/Standards/*/ruleset.xml"
4343 xsd-file : " phpcs.xsd"
4444
45- # Validate the basic well-formedness of the Documentation XML files.
45+ # Validate the Documentation XML files.
4646 - name : Validate documentation XML
4747 uses : phpcsstandards/xmllint-validate@v1
4848 with :
4949 pattern : " ./src/Standards/*/Docs/*/*Standard.xml"
50+ xsd-url : " https://phpcsstandards.github.io/PHPCSDevTools/phpcsdocs.xsd"
51+
52+ # Validate dev tool related XML files.
53+ - name : Validate Project PHPCS ruleset against schema
54+ uses : phpcsstandards/xmllint-validate@v1
55+ with :
56+ pattern : " phpcs.xml.dist"
57+ xsd-file : " phpcs.xsd"
58+
59+ - name : " Validate PHPUnit config for well-formedness"
60+ uses : phpcsstandards/xmllint-validate@v1
61+ with :
62+ pattern : " phpunit.xml.dist"
5063
5164 xml-cs :
5265 name : ' XML Code style'
You can’t perform that action at this time.
0 commit comments