@@ -114,12 +114,12 @@ jobs:
114
114
run : git config --global core.autocrlf input
115
115
116
116
- name : Checkout code
117
- uses : actions/checkout@v5
117
+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
118
118
119
119
- name : " libxml2: find the latest relevant tag"
120
120
if : ${{ matrix.libxml_minor }}
121
121
id : libxml_version
122
- uses : oprypin/find-latest-tag@v1
122
+ uses : oprypin/find-latest-tag@dd2729fe78b0bb55523ae2b2a310c6773a652bd1 # v1.1.2
123
123
with :
124
124
repository : GNOME/libxml2
125
125
releases-only : false # The libxml2 repository doesn't use GitHub's "release" feature.
@@ -138,7 +138,7 @@ jobs:
138
138
- name : " libxml2: restore cache"
139
139
if : ${{ matrix.libxml_minor }}
140
140
id : libxml_cache_restore
141
- uses : actions/cache/restore@v4
141
+ uses : actions/cache/restore@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
142
142
with :
143
143
path : " libxml2-${{ steps.libxml_patch_version.outputs.PATCH }}"
144
144
key : " ${{ matrix.os }}-libxml-${{ matrix.libxml_minor }}-${{ steps.libxml_patch_version.outputs.PATCH }}"
@@ -166,7 +166,7 @@ jobs:
166
166
- name : " libxml2: save cache"
167
167
if : ${{ matrix.libxml_minor && steps.libxml_cache_restore.outputs.cache-hit != 'true' }}
168
168
id : libxml_cache_save
169
- uses : actions/cache/save@v4
169
+ uses : actions/cache/save@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
170
170
with :
171
171
path : " libxml2-${{ steps.libxml_patch_version.outputs.PATCH }}"
172
172
key : ${{ steps.libxml_cache_restore.outputs.cache-primary-key }}
@@ -197,7 +197,7 @@ jobs:
197
197
# yamllint enable rule:line-length
198
198
199
199
- name : Install PHP
200
- uses : shivammathur/setup-php@v2
200
+ uses : shivammathur/setup-php@bf6b4fbd49ca58e4608c9c89fba0b8d90bd2a39f # 2.35.5
201
201
with :
202
202
php-version : ${{ matrix.php }}
203
203
ini-values : ${{ steps.set_ini.outputs.PHP_INI }}
@@ -209,7 +209,7 @@ jobs:
209
209
# This action also handles the caching of the dependencies.
210
210
- name : Set up node
211
211
if : ${{ matrix.custom_ini == false }}
212
- uses : actions/setup-node@v5
212
+ uses : actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
213
213
with :
214
214
node-version : ' 20'
215
215
@@ -224,7 +224,7 @@ jobs:
224
224
# Install dependencies and handle caching in one go.
225
225
# @link https://github.com/marketplace/actions/install-php-dependencies-with-composer
226
226
- name : Install Composer dependencies
227
- uses : " ramsey/composer-install@v3 "
227
+ uses : " ramsey/composer-install@3cf229dc2919194e9e36783941438d17239e8520 " # 3.1.1
228
228
with :
229
229
composer-options : ${{ matrix.php == '8.5' && '--ignore-platform-req=php+' || '' }}
230
230
custom-cache-suffix : $(date -u "+%Y-%m")
@@ -257,7 +257,7 @@ jobs:
257
257
258
258
- name : Download the PHPCS phar
259
259
if : ${{ matrix.custom_ini == false }}
260
- uses : actions/download-artifact@v5
260
+ uses : actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
261
261
with :
262
262
name : phpcs-phar
263
263
@@ -302,7 +302,7 @@ jobs:
302
302
run : git config --global core.autocrlf input
303
303
304
304
- name : Checkout code
305
- uses : actions/checkout@v5
305
+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
306
306
307
307
- name : Setup ini config
308
308
if : ${{ matrix.custom_ini == true && matrix.os != 'windows-latest' }}
@@ -313,7 +313,7 @@ jobs:
313
313
echo 'PHP_INI=, date.timezone=Australia/Sydney, short_open_tag=On' >> "$GITHUB_OUTPUT"
314
314
315
315
- name : Install PHP
316
- uses : shivammathur/setup-php@v2
316
+ uses : shivammathur/setup-php@bf6b4fbd49ca58e4608c9c89fba0b8d90bd2a39f # 2.35.5
317
317
with :
318
318
php-version : ${{ matrix.php }}
319
319
ini-values : error_reporting=-1, display_errors=On, display_startup_errors=On${{ steps.set_ini.outputs.PHP_INI }}
@@ -322,7 +322,7 @@ jobs:
322
322
# This action also handles the caching of the dependencies.
323
323
- name : Set up node
324
324
if : ${{ matrix.custom_ini == false }}
325
- uses : actions/setup-node@v5
325
+ uses : actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
326
326
with :
327
327
node-version : ' 20'
328
328
@@ -337,7 +337,7 @@ jobs:
337
337
# Install dependencies and handle caching in one go.
338
338
# @link https://github.com/marketplace/actions/install-php-dependencies-with-composer
339
339
- name : Install Composer dependencies
340
- uses : " ramsey/composer-install@v3 "
340
+ uses : " ramsey/composer-install@3cf229dc2919194e9e36783941438d17239e8520 " # 3.1.1
341
341
with :
342
342
# Bust the cache at least once a month - output format: YYYY-MM.
343
343
custom-cache-suffix : $(date -u "+%Y-%m")
@@ -385,7 +385,7 @@ jobs:
385
385
386
386
- name : " Upload coverage results to Coveralls (normal run)"
387
387
if : ${{ success() }}
388
- uses : coverallsapp/github-action@v2
388
+ uses : coverallsapp/github-action@648a8eb78e6d50909eff900e4ec85cab4524a45b # v2.3.6
389
389
with :
390
390
format : clover
391
391
file : build/logs/clover.xml
@@ -394,7 +394,7 @@ jobs:
394
394
395
395
- name : " Upload coverage results to Coveralls (CBF run)"
396
396
if : ${{ matrix.os != 'windows-latest' && success() }}
397
- uses : coverallsapp/github-action@v2
397
+ uses : coverallsapp/github-action@648a8eb78e6d50909eff900e4ec85cab4524a45b # v2.3.6
398
398
with :
399
399
format : clover
400
400
file : build/logs/clover-cbf.xml
@@ -409,6 +409,6 @@ jobs:
409
409
410
410
steps :
411
411
- name : Coveralls Finished
412
- uses : coverallsapp/github-action@v2
412
+ uses : coverallsapp/github-action@648a8eb78e6d50909eff900e4ec85cab4524a45b # v2.3.6
413
413
with :
414
414
parallel-finished : true
0 commit comments