diff --git a/.github/workflows/basics.yml b/.github/workflows/basics.yml index e07a6bd8..79d639ff 100644 --- a/.github/workflows/basics.yml +++ b/.github/workflows/basics.yml @@ -55,7 +55,7 @@ jobs: # Validate the XML file. - name: Validate rulesets against schema - uses: phpcsstandards/xmllint-validate@0fd9c4a9046055f621fca4bbdccb8eab1fd59fdc # v1.0.1 + uses: phpcsstandards/xmllint-validate@5189514594c8d5f4cf21b7e5af50f54d697973d7 # v2.0.0 with: pattern: "./*/ruleset.xml" xsd-file: "vendor/squizlabs/php_codesniffer/phpcs.xsd" @@ -69,7 +69,7 @@ jobs: # Validate dev tool related XML files. - name: Validate Project PHPCS ruleset against schema - uses: phpcsstandards/xmllint-validate@0fd9c4a9046055f621fca4bbdccb8eab1fd59fdc # v1.0.1 + uses: phpcsstandards/xmllint-validate@5189514594c8d5f4cf21b7e5af50f54d697973d7 # v2.0.0 with: pattern: ".phpcs.xml.dist" xsd-file: "vendor/squizlabs/php_codesniffer/phpcs.xsd" @@ -77,7 +77,7 @@ jobs: # Note: PHPUnit 9.3 introduced some new configuration options and deprecated the old versions of those. # For cross-version compatibility, the validation is done against the PHPUnit 9.2 schema. - name: "Validate PHPUnit config for use with PHPUnit 9" - uses: phpcsstandards/xmllint-validate@0fd9c4a9046055f621fca4bbdccb8eab1fd59fdc # v1.0.1 + uses: phpcsstandards/xmllint-validate@5189514594c8d5f4cf21b7e5af50f54d697973d7 # v2.0.0 with: pattern: "phpunit.xml.dist" xsd-file: "vendor/phpunit/phpunit/schema/9.2.xsd"