@@ -114,12 +114,12 @@ jobs:
114114 run : git config --global core.autocrlf input
115115
116116 - name : Checkout code
117- uses : actions/checkout@v5
117+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
118118
119119 - name : " libxml2: find the latest relevant tag"
120120 if : ${{ matrix.libxml_minor }}
121121 id : libxml_version
122- uses : oprypin/find-latest-tag@v1
122+ uses : oprypin/find-latest-tag@dd2729fe78b0bb55523ae2b2a310c6773a652bd1 # v1.1.2
123123 with :
124124 repository : GNOME/libxml2
125125 releases-only : false # The libxml2 repository doesn't use GitHub's "release" feature.
@@ -138,7 +138,7 @@ jobs:
138138 - name : " libxml2: restore cache"
139139 if : ${{ matrix.libxml_minor }}
140140 id : libxml_cache_restore
141- uses : actions/cache/restore@v4
141+ uses : actions/cache/restore@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
142142 with :
143143 path : " libxml2-${{ steps.libxml_patch_version.outputs.PATCH }}"
144144 key : " ${{ matrix.os }}-libxml-${{ matrix.libxml_minor }}-${{ steps.libxml_patch_version.outputs.PATCH }}"
@@ -166,7 +166,7 @@ jobs:
166166 - name : " libxml2: save cache"
167167 if : ${{ matrix.libxml_minor && steps.libxml_cache_restore.outputs.cache-hit != 'true' }}
168168 id : libxml_cache_save
169- uses : actions/cache/save@v4
169+ uses : actions/cache/save@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
170170 with :
171171 path : " libxml2-${{ steps.libxml_patch_version.outputs.PATCH }}"
172172 key : ${{ steps.libxml_cache_restore.outputs.cache-primary-key }}
@@ -197,7 +197,7 @@ jobs:
197197 # yamllint enable rule:line-length
198198
199199 - name : Install PHP
200- uses : shivammathur/setup-php@v2
200+ uses : shivammathur/setup-php@bf6b4fbd49ca58e4608c9c89fba0b8d90bd2a39f # 2.35.5
201201 with :
202202 php-version : ${{ matrix.php }}
203203 ini-values : ${{ steps.set_ini.outputs.PHP_INI }}
@@ -209,7 +209,7 @@ jobs:
209209 # This action also handles the caching of the dependencies.
210210 - name : Set up node
211211 if : ${{ matrix.custom_ini == false }}
212- uses : actions/setup-node@v5
212+ uses : actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
213213 with :
214214 node-version : ' 20'
215215
@@ -224,7 +224,7 @@ jobs:
224224 # Install dependencies and handle caching in one go.
225225 # @link https://github.com/marketplace/actions/install-php-dependencies-with-composer
226226 - name : Install Composer dependencies
227- uses : " ramsey/composer-install@v3 "
227+ uses : " ramsey/composer-install@3cf229dc2919194e9e36783941438d17239e8520 " # 3.1.1
228228 with :
229229 composer-options : ${{ matrix.php == '8.5' && '--ignore-platform-req=php+' || '' }}
230230 custom-cache-suffix : $(date -u "+%Y-%m")
@@ -257,7 +257,7 @@ jobs:
257257
258258 - name : Download the PHPCS phar
259259 if : ${{ matrix.custom_ini == false }}
260- uses : actions/download-artifact@v5
260+ uses : actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
261261 with :
262262 name : phpcs-phar
263263
@@ -302,7 +302,7 @@ jobs:
302302 run : git config --global core.autocrlf input
303303
304304 - name : Checkout code
305- uses : actions/checkout@v5
305+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
306306
307307 - name : Setup ini config
308308 if : ${{ matrix.custom_ini == true && matrix.os != 'windows-latest' }}
@@ -313,7 +313,7 @@ jobs:
313313 echo 'PHP_INI=, date.timezone=Australia/Sydney, short_open_tag=On' >> "$GITHUB_OUTPUT"
314314
315315 - name : Install PHP
316- uses : shivammathur/setup-php@v2
316+ uses : shivammathur/setup-php@bf6b4fbd49ca58e4608c9c89fba0b8d90bd2a39f # 2.35.5
317317 with :
318318 php-version : ${{ matrix.php }}
319319 ini-values : error_reporting=-1, display_errors=On, display_startup_errors=On${{ steps.set_ini.outputs.PHP_INI }}
@@ -322,7 +322,7 @@ jobs:
322322 # This action also handles the caching of the dependencies.
323323 - name : Set up node
324324 if : ${{ matrix.custom_ini == false }}
325- uses : actions/setup-node@v5
325+ uses : actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
326326 with :
327327 node-version : ' 20'
328328
@@ -337,7 +337,7 @@ jobs:
337337 # Install dependencies and handle caching in one go.
338338 # @link https://github.com/marketplace/actions/install-php-dependencies-with-composer
339339 - name : Install Composer dependencies
340- uses : " ramsey/composer-install@v3 "
340+ uses : " ramsey/composer-install@3cf229dc2919194e9e36783941438d17239e8520 " # 3.1.1
341341 with :
342342 # Bust the cache at least once a month - output format: YYYY-MM.
343343 custom-cache-suffix : $(date -u "+%Y-%m")
@@ -385,7 +385,7 @@ jobs:
385385
386386 - name : " Upload coverage results to Coveralls (normal run)"
387387 if : ${{ success() }}
388- uses : coverallsapp/github-action@v2
388+ uses : coverallsapp/github-action@648a8eb78e6d50909eff900e4ec85cab4524a45b # v2.3.6
389389 with :
390390 format : clover
391391 file : build/logs/clover.xml
@@ -394,7 +394,7 @@ jobs:
394394
395395 - name : " Upload coverage results to Coveralls (CBF run)"
396396 if : ${{ matrix.os != 'windows-latest' && success() }}
397- uses : coverallsapp/github-action@v2
397+ uses : coverallsapp/github-action@648a8eb78e6d50909eff900e4ec85cab4524a45b # v2.3.6
398398 with :
399399 format : clover
400400 file : build/logs/clover-cbf.xml
@@ -409,6 +409,6 @@ jobs:
409409
410410 steps :
411411 - name : Coveralls Finished
412- uses : coverallsapp/github-action@v2
412+ uses : coverallsapp/github-action@648a8eb78e6d50909eff900e4ec85cab4524a45b # v2.3.6
413413 with :
414414 parallel-finished : true
0 commit comments