@@ -108,12 +108,12 @@ jobs:
108
108
run : git config --global core.autocrlf input
109
109
110
110
- name : Checkout code
111
- uses : actions/checkout@v5
111
+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
112
112
113
113
- name : " libxml2: find the latest relevant tag"
114
114
if : ${{ matrix.libxml_minor }}
115
115
id : libxml_version
116
- uses : oprypin/find-latest-tag@v1
116
+ uses : oprypin/find-latest-tag@dd2729fe78b0bb55523ae2b2a310c6773a652bd1 # v1.1.2
117
117
with :
118
118
repository : GNOME/libxml2
119
119
releases-only : false # The libxml2 repository doesn't use GitHub's "release" feature.
@@ -132,7 +132,7 @@ jobs:
132
132
- name : " libxml2: restore cache"
133
133
if : ${{ matrix.libxml_minor }}
134
134
id : libxml_cache_restore
135
- uses : actions/cache/restore@v4
135
+ uses : actions/cache/restore@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
136
136
with :
137
137
path : " libxml2-${{ steps.libxml_patch_version.outputs.PATCH }}"
138
138
key : " ${{ matrix.os }}-libxml-${{ matrix.libxml_minor }}-${{ steps.libxml_patch_version.outputs.PATCH }}"
@@ -160,7 +160,7 @@ jobs:
160
160
- name : " libxml2: save cache"
161
161
if : ${{ matrix.libxml_minor && steps.libxml_cache_restore.outputs.cache-hit != 'true' }}
162
162
id : libxml_cache_save
163
- uses : actions/cache/save@v4
163
+ uses : actions/cache/save@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
164
164
with :
165
165
path : " libxml2-${{ steps.libxml_patch_version.outputs.PATCH }}"
166
166
key : ${{ steps.libxml_cache_restore.outputs.cache-primary-key }}
@@ -189,7 +189,7 @@ jobs:
189
189
# yamllint enable rule:line-length
190
190
191
191
- name : Install PHP
192
- uses : shivammathur/setup-php@v2
192
+ uses : shivammathur/setup-php@bf6b4fbd49ca58e4608c9c89fba0b8d90bd2a39f # 2.35.5
193
193
with :
194
194
php-version : ${{ matrix.php }}
195
195
ini-values : ${{ steps.set_ini.outputs.PHP_INI }}
@@ -202,7 +202,7 @@ jobs:
202
202
# Install dependencies and handle caching in one go.
203
203
# @link https://github.com/marketplace/actions/install-php-dependencies-with-composer
204
204
- name : Install Composer dependencies
205
- uses : " ramsey/composer-install@v3 "
205
+ uses : " ramsey/composer-install@3cf229dc2919194e9e36783941438d17239e8520 " # 3.1.1
206
206
with :
207
207
composer-options : ${{ matrix.php == '8.5' && '--ignore-platform-req=php+' || '' }}
208
208
custom-cache-suffix : $(date -u "+%Y-%m")
@@ -258,7 +258,7 @@ jobs:
258
258
259
259
- name : Download the PHPCS phar
260
260
if : ${{ matrix.custom_ini == false }}
261
- uses : actions/download-artifact@v5
261
+ uses : actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
262
262
with :
263
263
name : phpcs-phar
264
264
@@ -303,7 +303,7 @@ jobs:
303
303
run : git config --global core.autocrlf input
304
304
305
305
- name : Checkout code
306
- uses : actions/checkout@v5
306
+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
307
307
308
308
- name : Setup ini config
309
309
if : ${{ matrix.custom_ini == true && matrix.os != 'windows-latest' }}
@@ -314,7 +314,7 @@ jobs:
314
314
echo 'PHP_INI=, date.timezone=Australia/Sydney, short_open_tag=On' >> "$GITHUB_OUTPUT"
315
315
316
316
- name : Install PHP
317
- uses : shivammathur/setup-php@v2
317
+ uses : shivammathur/setup-php@bf6b4fbd49ca58e4608c9c89fba0b8d90bd2a39f # 2.35.5
318
318
with :
319
319
php-version : ${{ matrix.php }}
320
320
ini-values : error_reporting=-1, display_errors=On, display_startup_errors=On${{ steps.set_ini.outputs.PHP_INI }}
@@ -324,7 +324,7 @@ jobs:
324
324
# Install dependencies and handle caching in one go.
325
325
# @link https://github.com/marketplace/actions/install-php-dependencies-with-composer
326
326
- name : Install Composer dependencies
327
- uses : " ramsey/composer-install@v3 "
327
+ uses : " ramsey/composer-install@3cf229dc2919194e9e36783941438d17239e8520 " # 3.1.1
328
328
with :
329
329
# Bust the cache at least once a month - output format: YYYY-MM.
330
330
custom-cache-suffix : $(date -u "+%Y-%m")
@@ -393,7 +393,7 @@ jobs:
393
393
394
394
- name : " Upload coverage results to Coveralls (normal run)"
395
395
if : ${{ success() }}
396
- uses : coverallsapp/github-action@v2
396
+ uses : coverallsapp/github-action@648a8eb78e6d50909eff900e4ec85cab4524a45b # v2.3.6
397
397
with :
398
398
format : clover
399
399
file : build/logs/clover.xml
@@ -402,7 +402,7 @@ jobs:
402
402
403
403
- name : " Upload coverage results to Coveralls (CBF run)"
404
404
if : ${{ matrix.os != 'windows-latest' && success() }}
405
- uses : coverallsapp/github-action@v2
405
+ uses : coverallsapp/github-action@648a8eb78e6d50909eff900e4ec85cab4524a45b # v2.3.6
406
406
with :
407
407
format : clover
408
408
file : build/logs/clover-cbf.xml
@@ -417,6 +417,6 @@ jobs:
417
417
418
418
steps :
419
419
- name : Coveralls Finished
420
- uses : coverallsapp/github-action@v2
420
+ uses : coverallsapp/github-action@648a8eb78e6d50909eff900e4ec85cab4524a45b # v2.3.6
421
421
with :
422
422
parallel-finished : true
0 commit comments