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:
42
42
pattern : " ./src/Standards/*/ruleset.xml"
43
43
xsd-file : " phpcs.xsd"
44
44
45
- # Validate the basic well-formedness of the Documentation XML files.
45
+ # Validate the Documentation XML files.
46
46
- name : Validate documentation XML
47
47
uses : phpcsstandards/xmllint-validate@v1
48
48
with :
49
49
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"
50
63
51
64
xml-cs :
52
65
name : ' XML Code style'
You can’t perform that action at this time.
0 commit comments