@@ -49,10 +49,10 @@ jobs:
4949 needs : build-context
5050 if : needs.build-context.outputs.run-tests == 'true'
5151 steps :
52- - uses : actions/checkout@v6
52+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
5353 with :
5454 persist-credentials : false
55- - uses : actions/setup-python@v6
55+ - uses : actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
5656 - name : Install dependencies
5757 run : |
5858 sudo ./.github/workflows/posix-deps-apt.sh
8181 if : ${{ failure() && steps.check.conclusion == 'failure' }}
8282 run : |
8383 make regen-abidump
84- - uses : actions/upload-artifact@v6
84+ - uses : actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
8585 name : Publish updated ABI files
8686 if : ${{ failure() && steps.check.conclusion == 'failure' }}
8787 with :
@@ -103,7 +103,7 @@ jobs:
103103 run : |
104104 apt update && apt install git -yq
105105 git config --global --add safe.directory "$GITHUB_WORKSPACE"
106- - uses : actions/checkout@v6
106+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
107107 with :
108108 fetch-depth : 1
109109 persist-credentials : false
@@ -140,16 +140,16 @@ jobs:
140140 needs : build-context
141141 if : needs.build-context.outputs.run-tests == 'true'
142142 steps :
143- - uses : actions/checkout@v6
143+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
144144 with :
145145 persist-credentials : false
146- - uses : actions/setup-python@v6
146+ - uses : actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
147147 with :
148148 python-version : ' 3.x'
149149 - name : Runner image version
150150 run : echo "IMAGE_OS_VERSION=${ImageOS}-${ImageVersion}" >> "$GITHUB_ENV"
151151 - name : Restore config.cache
152- uses : actions/cache@v5
152+ uses : actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
153153 with :
154154 path : config.cache
155155 # Include env.pythonLocation in key to avoid changes in environment when setup-python updates Python
@@ -159,7 +159,7 @@ jobs:
159159 - name : Add ccache to PATH
160160 run : echo "PATH=/usr/lib/ccache:$PATH" >> "$GITHUB_ENV"
161161 - name : Configure ccache action
162- uses : hendrikmuhs/ccache-action@v1.2
162+ uses : hendrikmuhs/ccache-action@5ebbd400eff9e74630f759d94ddd7b6c26299639 # v1.2.20
163163 with :
164164 save : false
165165 - name : Configure CPython
@@ -291,13 +291,13 @@ jobs:
291291 OPENSSL_DIR : ${{ github.workspace }}/multissl/openssl/${{ matrix.openssl_ver }}
292292 LD_LIBRARY_PATH : ${{ github.workspace }}/multissl/openssl/${{ matrix.openssl_ver }}/lib
293293 steps :
294- - uses : actions/checkout@v6
294+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
295295 with :
296296 persist-credentials : false
297297 - name : Runner image version
298298 run : echo "IMAGE_OS_VERSION=${ImageOS}-${ImageVersion}" >> "$GITHUB_ENV"
299299 - name : Restore config.cache
300- uses : actions/cache@v5
300+ uses : actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
301301 with :
302302 path : config.cache
303303 key : ${{ github.job }}-${{ env.IMAGE_OS_VERSION }}-${{ needs.build-context.outputs.config-hash }}
@@ -312,7 +312,7 @@ jobs:
312312 echo "LD_LIBRARY_PATH=${GITHUB_WORKSPACE}/multissl/openssl/${OPENSSL_VER}/lib" >> "$GITHUB_ENV"
313313 - name : ' Restore OpenSSL build'
314314 id : cache-openssl
315- uses : actions/cache@v5
315+ uses : actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
316316 with :
317317 path : ./multissl/openssl/${{ env.OPENSSL_VER }}
318318 key : ${{ matrix.os }}-multissl-openssl-${{ env.OPENSSL_VER }}
@@ -323,7 +323,7 @@ jobs:
323323 run : |
324324 echo "PATH=/usr/lib/ccache:$PATH" >> "$GITHUB_ENV"
325325 - name : Configure ccache action
326- uses : hendrikmuhs/ccache-action@v1.2
326+ uses : hendrikmuhs/ccache-action@5ebbd400eff9e74630f759d94ddd7b6c26299639 # v1.2.20
327327 with :
328328 save : false
329329 - name : Configure CPython
@@ -345,7 +345,7 @@ jobs:
345345 OPENSSL_VER : 3.0.15
346346 PYTHONSTRICTEXTENSIONBUILD : 1
347347 steps :
348- - uses : actions/checkout@v6
348+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
349349 with :
350350 persist-credentials : false
351351 - name : Register gcc problem matcher
@@ -359,7 +359,7 @@ jobs:
359359 echo "LD_LIBRARY_PATH=${GITHUB_WORKSPACE}/multissl/openssl/${OPENSSL_VER}/lib" >> "$GITHUB_ENV"
360360 - name : ' Restore OpenSSL build'
361361 id : cache-openssl
362- uses : actions/cache@v5
362+ uses : actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
363363 with :
364364 path : ./multissl/openssl/${{ env.OPENSSL_VER }}
365365 key : ${{ runner.os }}-multissl-openssl-${{ env.OPENSSL_VER }}
@@ -370,7 +370,7 @@ jobs:
370370 run : |
371371 echo "PATH=/usr/lib/ccache:$PATH" >> "$GITHUB_ENV"
372372 - name : Configure ccache action
373- uses : hendrikmuhs/ccache-action@v1.2
373+ uses : hendrikmuhs/ccache-action@5ebbd400eff9e74630f759d94ddd7b6c26299639 # v1.2.20
374374 with :
375375 save : false
376376 - name : Setup directory envs for out-of-tree builds
@@ -384,7 +384,7 @@ jobs:
384384 - name : Runner image version
385385 run : echo "IMAGE_OS_VERSION=${ImageOS}-${ImageVersion}" >> "$GITHUB_ENV"
386386 - name : Restore config.cache
387- uses : actions/cache@v5
387+ uses : actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
388388 with :
389389 path : ${{ env.CPYTHON_BUILDDIR }}/config.cache
390390 key : ${{ github.job }}-${{ env.IMAGE_OS_VERSION }}-${{ needs.build-context.outputs.config-hash }}
@@ -417,7 +417,7 @@ jobs:
417417 ./python -m venv "$VENV_LOC" && "$VENV_PYTHON" -m pip install -r "${GITHUB_WORKSPACE}/Tools/requirements-hypothesis.txt"
418418 - name : ' Restore Hypothesis database'
419419 id : cache-hypothesis-database
420- uses : actions/cache@v5
420+ uses : actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
421421 with :
422422 path : ./hypothesis
423423 key : hypothesis-database-${{ github.head_ref || github.run_id }}
@@ -443,7 +443,7 @@ jobs:
443443 -x test_subprocess \
444444 -x test_signal \
445445 -x test_sysconfig
446- - uses : actions/upload-artifact@v6
446+ - uses : actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
447447 if : always()
448448 with :
449449 name : hypothesis-example-db
@@ -464,13 +464,13 @@ jobs:
464464 PYTHONSTRICTEXTENSIONBUILD : 1
465465 ASAN_OPTIONS : detect_leaks=0:allocator_may_return_null=1:handle_segv=0
466466 steps :
467- - uses : actions/checkout@v6
467+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
468468 with :
469469 persist-credentials : false
470470 - name : Runner image version
471471 run : echo "IMAGE_OS_VERSION=${ImageOS}-${ImageVersion}" >> "$GITHUB_ENV"
472472 - name : Restore config.cache
473- uses : actions/cache@v5
473+ uses : actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
474474 with :
475475 path : config.cache
476476 key : ${{ github.job }}-${{ env.IMAGE_OS_VERSION }}-${{ needs.build-context.outputs.config-hash }}
@@ -479,7 +479,7 @@ jobs:
479479 - name : Install dependencies
480480 run : sudo ./.github/workflows/posix-deps-apt.sh
481481 - name : Set up GCC-10 for ASAN
482- uses : egor-tensin/setup-gcc@v2
482+ uses : egor-tensin/setup-gcc@a2861a8b8538f49cf2850980acccf6b05a1b2ae4 # v2.0
483483 with :
484484 version : 10
485485 - name : Configure OpenSSL env vars
@@ -489,7 +489,7 @@ jobs:
489489 echo "LD_LIBRARY_PATH=${GITHUB_WORKSPACE}/multissl/openssl/${OPENSSL_VER}/lib" >> "$GITHUB_ENV"
490490 - name : ' Restore OpenSSL build'
491491 id : cache-openssl
492- uses : actions/cache@v5
492+ uses : actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
493493 with :
494494 path : ./multissl/openssl/${{ env.OPENSSL_VER }}
495495 key : ${{ matrix.os }}-multissl-openssl-${{ env.OPENSSL_VER }}
@@ -500,7 +500,7 @@ jobs:
500500 run : |
501501 echo "PATH=/usr/lib/ccache:$PATH" >> "$GITHUB_ENV"
502502 - name : Configure ccache action
503- uses : hendrikmuhs/ccache-action@v1.2
503+ uses : hendrikmuhs/ccache-action@5ebbd400eff9e74630f759d94ddd7b6c26299639 # v1.2.20
504504 with :
505505 save : ${{ github.event_name == 'push' }}
506506 max-size : " 200M"
0 commit comments