@@ -108,12 +108,12 @@ jobs:
108108 run : git config --global core.autocrlf input
109109
110110 - name : Checkout code
111- uses : actions/checkout@v5
111+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
112112
113113 - name : " libxml2: find the latest relevant tag"
114114 if : ${{ matrix.libxml_minor }}
115115 id : libxml_version
116- uses : oprypin/find-latest-tag@v1
116+ uses : oprypin/find-latest-tag@dd2729fe78b0bb55523ae2b2a310c6773a652bd1 # v1.1.2
117117 with :
118118 repository : GNOME/libxml2
119119 releases-only : false # The libxml2 repository doesn't use GitHub's "release" feature.
@@ -132,7 +132,7 @@ jobs:
132132 - name : " libxml2: restore cache"
133133 if : ${{ matrix.libxml_minor }}
134134 id : libxml_cache_restore
135- uses : actions/cache/restore@v4
135+ uses : actions/cache/restore@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
136136 with :
137137 path : " libxml2-${{ steps.libxml_patch_version.outputs.PATCH }}"
138138 key : " ${{ matrix.os }}-libxml-${{ matrix.libxml_minor }}-${{ steps.libxml_patch_version.outputs.PATCH }}"
@@ -160,7 +160,7 @@ jobs:
160160 - name : " libxml2: save cache"
161161 if : ${{ matrix.libxml_minor && steps.libxml_cache_restore.outputs.cache-hit != 'true' }}
162162 id : libxml_cache_save
163- uses : actions/cache/save@v4
163+ uses : actions/cache/save@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
164164 with :
165165 path : " libxml2-${{ steps.libxml_patch_version.outputs.PATCH }}"
166166 key : ${{ steps.libxml_cache_restore.outputs.cache-primary-key }}
@@ -189,7 +189,7 @@ jobs:
189189 # yamllint enable rule:line-length
190190
191191 - name : Install PHP
192- uses : shivammathur/setup-php@v2
192+ uses : shivammathur/setup-php@bf6b4fbd49ca58e4608c9c89fba0b8d90bd2a39f # 2.35.5
193193 with :
194194 php-version : ${{ matrix.php }}
195195 ini-values : ${{ steps.set_ini.outputs.PHP_INI }}
@@ -202,7 +202,7 @@ jobs:
202202 # Install dependencies and handle caching in one go.
203203 # @link https://github.com/marketplace/actions/install-php-dependencies-with-composer
204204 - name : Install Composer dependencies
205- uses : " ramsey/composer-install@v3 "
205+ uses : " ramsey/composer-install@3cf229dc2919194e9e36783941438d17239e8520 " # 3.1.1
206206 with :
207207 composer-options : ${{ matrix.php == '8.5' && '--ignore-platform-req=php+' || '' }}
208208 custom-cache-suffix : $(date -u "+%Y-%m")
@@ -258,7 +258,7 @@ jobs:
258258
259259 - name : Download the PHPCS phar
260260 if : ${{ matrix.custom_ini == false }}
261- uses : actions/download-artifact@v5
261+ uses : actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
262262 with :
263263 name : phpcs-phar
264264
@@ -303,7 +303,7 @@ jobs:
303303 run : git config --global core.autocrlf input
304304
305305 - name : Checkout code
306- uses : actions/checkout@v5
306+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
307307
308308 - name : Setup ini config
309309 if : ${{ matrix.custom_ini == true && matrix.os != 'windows-latest' }}
@@ -314,7 +314,7 @@ jobs:
314314 echo 'PHP_INI=, date.timezone=Australia/Sydney, short_open_tag=On' >> "$GITHUB_OUTPUT"
315315
316316 - name : Install PHP
317- uses : shivammathur/setup-php@v2
317+ uses : shivammathur/setup-php@bf6b4fbd49ca58e4608c9c89fba0b8d90bd2a39f # 2.35.5
318318 with :
319319 php-version : ${{ matrix.php }}
320320 ini-values : error_reporting=-1, display_errors=On, display_startup_errors=On${{ steps.set_ini.outputs.PHP_INI }}
@@ -324,7 +324,7 @@ jobs:
324324 # Install dependencies and handle caching in one go.
325325 # @link https://github.com/marketplace/actions/install-php-dependencies-with-composer
326326 - name : Install Composer dependencies
327- uses : " ramsey/composer-install@v3 "
327+ uses : " ramsey/composer-install@3cf229dc2919194e9e36783941438d17239e8520 " # 3.1.1
328328 with :
329329 # Bust the cache at least once a month - output format: YYYY-MM.
330330 custom-cache-suffix : $(date -u "+%Y-%m")
@@ -393,7 +393,7 @@ jobs:
393393
394394 - name : " Upload coverage results to Coveralls (normal run)"
395395 if : ${{ success() }}
396- uses : coverallsapp/github-action@v2
396+ uses : coverallsapp/github-action@648a8eb78e6d50909eff900e4ec85cab4524a45b # v2.3.6
397397 with :
398398 format : clover
399399 file : build/logs/clover.xml
@@ -402,7 +402,7 @@ jobs:
402402
403403 - name : " Upload coverage results to Coveralls (CBF run)"
404404 if : ${{ matrix.os != 'windows-latest' && success() }}
405- uses : coverallsapp/github-action@v2
405+ uses : coverallsapp/github-action@648a8eb78e6d50909eff900e4ec85cab4524a45b # v2.3.6
406406 with :
407407 format : clover
408408 file : build/logs/clover-cbf.xml
@@ -417,6 +417,6 @@ jobs:
417417
418418 steps :
419419 - name : Coveralls Finished
420- uses : coverallsapp/github-action@v2
420+ uses : coverallsapp/github-action@648a8eb78e6d50909eff900e4ec85cab4524a45b # v2.3.6
421421 with :
422422 parallel-finished : true
0 commit comments