3030 uses : actions/checkout@v6
3131
3232 - name : Install PHP
33- uses : shivammathur/setup-php@v2
33+ uses : shivammathur/setup-php@7c071dfe9dc99bdf297fa79cb49ea005b9fcadbc # 2.37.1
3434 with :
3535 php-version : ' latest'
3636 coverage : none
@@ -48,14 +48,14 @@ jobs:
4848 # Install dependencies and handle caching in one go.
4949 # @link https://github.com/marketplace/actions/install-php-dependencies-with-composer
5050 - name : Install Composer dependencies
51- uses : " ramsey/composer-install@v4 "
51+ uses : " ramsey/composer-install@5c2bcf28d7b060ef3c601d7b476d5430a7b46c27 " # v4
5252 with :
5353 # Bust the cache at least once a month - output format: YYYY-MM.
5454 custom-cache-suffix : $(date -u "+%Y-%m")
5555
5656 # Validate the XML file.
5757 - name : Validate rulesets against schema
58- uses : phpcsstandards/xmllint-validate@v1
58+ uses : phpcsstandards/xmllint-validate@0fd9c4a9046055f621fca4bbdccb8eab1fd59fdc # v1.0.1
5959 with :
6060 pattern : " ./*/ruleset.xml"
6161 xsd-file : " vendor/squizlabs/php_codesniffer/phpcs.xsd"
@@ -69,15 +69,15 @@ jobs:
6969
7070 # Validate dev tool related XML files.
7171 - name : Validate Project PHPCS ruleset against schema
72- uses : phpcsstandards/xmllint-validate@v1
72+ uses : phpcsstandards/xmllint-validate@0fd9c4a9046055f621fca4bbdccb8eab1fd59fdc # v1.0.1
7373 with :
7474 pattern : " .phpcs.xml.dist"
7575 xsd-file : " vendor/squizlabs/php_codesniffer/phpcs.xsd"
7676
7777 # Note: PHPUnit 9.3 introduced some new configuration options and deprecated the old versions of those.
7878 # For cross-version compatibility, the validation is done against the PHPUnit 9.2 schema.
7979 - name : " Validate PHPUnit config for use with PHPUnit 9"
80- uses : phpcsstandards/xmllint-validate@v1
80+ uses : phpcsstandards/xmllint-validate@0fd9c4a9046055f621fca4bbdccb8eab1fd59fdc # v1.0.1
8181 with :
8282 pattern : " phpunit.xml.dist"
8383 xsd-file : " vendor/phpunit/phpunit/schema/9.2.xsd"
@@ -107,7 +107,7 @@ jobs:
107107 uses : actions/checkout@v6
108108
109109 - name : Install PHP
110- uses : shivammathur/setup-php@v2
110+ uses : shivammathur/setup-php@7c071dfe9dc99bdf297fa79cb49ea005b9fcadbc # 2.37.1
111111 with :
112112 php-version : ' latest'
113113 coverage : none
@@ -117,7 +117,7 @@ jobs:
117117 # Dependencies need to be installed to make sure the PHPCS and PHPUnit classes are recognized.
118118 # @link https://github.com/marketplace/actions/install-php-dependencies-with-composer
119119 - name : Install Composer dependencies
120- uses : " ramsey/composer-install@v4 "
120+ uses : " ramsey/composer-install@5c2bcf28d7b060ef3c601d7b476d5430a7b46c27 " # v4
121121 with :
122122 # Bust the cache at least once a month - output format: YYYY-MM.
123123 custom-cache-suffix : $(date -u "+%Y-%m")
0 commit comments