@@ -21,10 +21,10 @@ jobs:
2121
2222 steps :
2323 - name : Checkout code
24- uses : actions/checkout@v5
24+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2525
2626 - name : Install PHP
27- uses : shivammathur/setup-php@v2
27+ uses : shivammathur/setup-php@ec406be512d7077f68eed36e63f4d91bc006edc4 # master
2828 with :
2929 php-version : ' latest'
3030 coverage : none
@@ -46,56 +46,56 @@ jobs:
4646 # Install dependencies and handle caching in one go.
4747 # @link https://github.com/marketplace/actions/install-php-dependencies-with-composer
4848 - name : Install Composer dependencies
49- uses : " ramsey/composer-install@v3 "
49+ uses : " ramsey/composer-install@3cf229dc2919194e9e36783941438d17239e8520 " # 3.1.1
5050 with :
5151 # Bust the cache at least once a month - output format: YYYY-MM.
5252 custom-cache-suffix : $(date -u "+%Y-%m")
5353
5454 # Validate the XSD and XML files against schema.
5555 - name : Validate Docs XSD against schema
56- uses : phpcsstandards/xmllint-validate@v1
56+ uses : phpcsstandards/xmllint-validate@0fd9c4a9046055f621fca4bbdccb8eab1fd59fdc # v1.0.1
5757 with :
5858 pattern : " DocsXsd/phpcsdocs.xsd"
5959 xsd-url : " https://www.w3.org/2012/04/XMLSchema.xsd"
6060
6161 - name : Validate PHPCSDebug ruleset against schema
62- uses : phpcsstandards/xmllint-validate@v1
62+ uses : phpcsstandards/xmllint-validate@0fd9c4a9046055f621fca4bbdccb8eab1fd59fdc # v1.0.1
6363 with :
6464 pattern : " PHPCSDebug/ruleset.xml"
6565 xsd-file : " vendor/squizlabs/php_codesniffer/phpcs.xsd"
6666
6767 - name : Validate docs against schema
68- uses : phpcsstandards/xmllint-validate@v1
68+ uses : phpcsstandards/xmllint-validate@0fd9c4a9046055f621fca4bbdccb8eab1fd59fdc # v1.0.1
6969 with :
7070 pattern : " PHPCSDebug/Docs/*/*Standard.xml"
7171 xsd-file : " DocsXsd/phpcsdocs.xsd"
7272
7373 - name : Validate Project PHPCS ruleset against schema
74- uses : phpcsstandards/xmllint-validate@v1
74+ uses : phpcsstandards/xmllint-validate@0fd9c4a9046055f621fca4bbdccb8eab1fd59fdc # v1.0.1
7575 with :
7676 pattern : " phpcs.xml.dist"
7777 xsd-file : " vendor/squizlabs/php_codesniffer/phpcs.xsd"
7878
7979 - name : " Validate PHPUnit < 10 config for use with PHPUnit 8"
80- uses : phpcsstandards/xmllint-validate@v1
80+ uses : phpcsstandards/xmllint-validate@0fd9c4a9046055f621fca4bbdccb8eab1fd59fdc # v1.0.1
8181 with :
8282 pattern : " phpunitlte9.xml.dist"
8383 xsd-file : " vendor/phpunit/phpunit/schema/8.5.xsd"
8484
8585 - name : " Validate PHPUnit < 10 config for use with PHPUnit 9"
86- uses : phpcsstandards/xmllint-validate@v1
86+ uses : phpcsstandards/xmllint-validate@0fd9c4a9046055f621fca4bbdccb8eab1fd59fdc # v1.0.1
8787 with :
8888 pattern : " phpunitlte9.xml.dist"
8989 xsd-file : " vendor/phpunit/phpunit/schema/9.5.xsd"
9090
9191 - name : " Validate PHPUnit 10+ config for use with PHPUnit 10"
92- uses : phpcsstandards/xmllint-validate@v1
92+ uses : phpcsstandards/xmllint-validate@0fd9c4a9046055f621fca4bbdccb8eab1fd59fdc # v1.0.1
9393 with :
9494 pattern : " phpunit.xml.dist"
9595 xsd-file : " vendor/phpunit/phpunit/schema/10.5.xsd"
9696
9797 - name : " Validate PHPUnit 10+ config for use with PHPUnit 11"
98- uses : phpcsstandards/xmllint-validate@v1
98+ uses : phpcsstandards/xmllint-validate@0fd9c4a9046055f621fca4bbdccb8eab1fd59fdc # v1.0.1
9999 with :
100100 pattern : " phpunit.xml.dist"
101101 xsd-file : " vendor/phpunit/phpunit/phpunit.xsd"
@@ -118,7 +118,7 @@ jobs:
118118
119119 steps :
120120 - name : Checkout code
121- uses : actions/checkout@v5
121+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
122122
123123 # Updating the lists can fail intermittently, typically after Microsoft has released a new package.
124124 # This should not be blocking for this job, so ignore any errors from this step.
@@ -132,7 +132,7 @@ jobs:
132132
133133 # Show XML violations inline in the file diff.
134134 - name : Enable showing XML issues inline
135- uses : korelstar/xmllint-problem-matcher@v1
135+ uses : korelstar/xmllint-problem-matcher@1bd292d642ddf3d369d02aaa8b262834d61198c0 # v1.2.0
136136
137137 # Check code-style consistency of the XSD and XML files.
138138 - name : Check XSD code style
0 commit comments