@@ -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
@@ -215,22 +215,6 @@ jobs:
215215 arch : ${{ matrix.arch }}
216216 free-threading : ${{ matrix.free-threading }}
217217
218- build-windows-msi :
219- name : >- # ${{ '' } is a hack to nest jobs under the same sidebar category
220- Windows MSI${{ '' }}
221- needs : build-context
222- if : fromJSON(needs.build-context.outputs.run-windows-msi)
223- strategy :
224- fail-fast : false
225- matrix :
226- arch :
227- - x86
228- - x64
229- - arm64
230- uses : ./.github/workflows/reusable-windows-msi.yml
231- with :
232- arch : ${{ matrix.arch }}
233-
234218 build-macos :
235219 name : >-
236220 macOS
@@ -240,10 +224,10 @@ jobs:
240224 strategy :
241225 fail-fast : false
242226 matrix :
243- # macos-14 is M1 , macos-15-intel is Intel.
227+ # macos-26 is Apple Silicon , macos-15-intel is Intel.
244228 # macos-15-intel only runs tests against the GIL-enabled CPython.
245229 os :
246- - macos-14
230+ - macos-26
247231 - macos-15-intel
248232 free-threading :
249233 - false
@@ -291,13 +275,13 @@ jobs:
291275 OPENSSL_DIR : ${{ github.workspace }}/multissl/openssl/${{ matrix.openssl_ver }}
292276 LD_LIBRARY_PATH : ${{ github.workspace }}/multissl/openssl/${{ matrix.openssl_ver }}/lib
293277 steps :
294- - uses : actions/checkout@v6
278+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
295279 with :
296280 persist-credentials : false
297281 - name : Runner image version
298282 run : echo "IMAGE_OS_VERSION=${ImageOS}-${ImageVersion}" >> "$GITHUB_ENV"
299283 - name : Restore config.cache
300- uses : actions/cache@v5
284+ uses : actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
301285 with :
302286 path : config.cache
303287 key : ${{ github.job }}-${{ env.IMAGE_OS_VERSION }}-${{ needs.build-context.outputs.config-hash }}
@@ -312,7 +296,7 @@ jobs:
312296 echo "LD_LIBRARY_PATH=${GITHUB_WORKSPACE}/multissl/openssl/${OPENSSL_VER}/lib" >> "$GITHUB_ENV"
313297 - name : ' Restore OpenSSL build'
314298 id : cache-openssl
315- uses : actions/cache@v5
299+ uses : actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
316300 with :
317301 path : ./multissl/openssl/${{ env.OPENSSL_VER }}
318302 key : ${{ matrix.os }}-multissl-openssl-${{ env.OPENSSL_VER }}
@@ -323,7 +307,7 @@ jobs:
323307 run : |
324308 echo "PATH=/usr/lib/ccache:$PATH" >> "$GITHUB_ENV"
325309 - name : Configure ccache action
326- uses : hendrikmuhs/ccache-action@v1.2
310+ uses : hendrikmuhs/ccache-action@5ebbd400eff9e74630f759d94ddd7b6c26299639 # v1.2.20
327311 with :
328312 save : false
329313 - name : Configure CPython
@@ -345,7 +329,7 @@ jobs:
345329 OPENSSL_VER : 3.0.15
346330 PYTHONSTRICTEXTENSIONBUILD : 1
347331 steps :
348- - uses : actions/checkout@v6
332+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
349333 with :
350334 persist-credentials : false
351335 - name : Register gcc problem matcher
@@ -359,7 +343,7 @@ jobs:
359343 echo "LD_LIBRARY_PATH=${GITHUB_WORKSPACE}/multissl/openssl/${OPENSSL_VER}/lib" >> "$GITHUB_ENV"
360344 - name : ' Restore OpenSSL build'
361345 id : cache-openssl
362- uses : actions/cache@v5
346+ uses : actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
363347 with :
364348 path : ./multissl/openssl/${{ env.OPENSSL_VER }}
365349 key : ${{ runner.os }}-multissl-openssl-${{ env.OPENSSL_VER }}
@@ -370,7 +354,7 @@ jobs:
370354 run : |
371355 echo "PATH=/usr/lib/ccache:$PATH" >> "$GITHUB_ENV"
372356 - name : Configure ccache action
373- uses : hendrikmuhs/ccache-action@v1.2
357+ uses : hendrikmuhs/ccache-action@5ebbd400eff9e74630f759d94ddd7b6c26299639 # v1.2.20
374358 with :
375359 save : false
376360 - name : Setup directory envs for out-of-tree builds
@@ -384,7 +368,7 @@ jobs:
384368 - name : Runner image version
385369 run : echo "IMAGE_OS_VERSION=${ImageOS}-${ImageVersion}" >> "$GITHUB_ENV"
386370 - name : Restore config.cache
387- uses : actions/cache@v5
371+ uses : actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
388372 with :
389373 path : ${{ env.CPYTHON_BUILDDIR }}/config.cache
390374 key : ${{ github.job }}-${{ env.IMAGE_OS_VERSION }}-${{ needs.build-context.outputs.config-hash }}
@@ -417,7 +401,7 @@ jobs:
417401 ./python -m venv "$VENV_LOC" && "$VENV_PYTHON" -m pip install -r "${GITHUB_WORKSPACE}/Tools/requirements-hypothesis.txt"
418402 - name : ' Restore Hypothesis database'
419403 id : cache-hypothesis-database
420- uses : actions/cache@v5
404+ uses : actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
421405 with :
422406 path : ./hypothesis
423407 key : hypothesis-database-${{ github.head_ref || github.run_id }}
@@ -443,7 +427,7 @@ jobs:
443427 -x test_subprocess \
444428 -x test_signal \
445429 -x test_sysconfig
446- - uses : actions/upload-artifact@v6
430+ - uses : actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
447431 if : always()
448432 with :
449433 name : hypothesis-example-db
@@ -464,13 +448,13 @@ jobs:
464448 PYTHONSTRICTEXTENSIONBUILD : 1
465449 ASAN_OPTIONS : detect_leaks=0:allocator_may_return_null=1:handle_segv=0
466450 steps :
467- - uses : actions/checkout@v6
451+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
468452 with :
469453 persist-credentials : false
470454 - name : Runner image version
471455 run : echo "IMAGE_OS_VERSION=${ImageOS}-${ImageVersion}" >> "$GITHUB_ENV"
472456 - name : Restore config.cache
473- uses : actions/cache@v5
457+ uses : actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
474458 with :
475459 path : config.cache
476460 key : ${{ github.job }}-${{ env.IMAGE_OS_VERSION }}-${{ needs.build-context.outputs.config-hash }}
@@ -479,7 +463,7 @@ jobs:
479463 - name : Install dependencies
480464 run : sudo ./.github/workflows/posix-deps-apt.sh
481465 - name : Set up GCC-10 for ASAN
482- uses : egor-tensin/setup-gcc@v2
466+ uses : egor-tensin/setup-gcc@a2861a8b8538f49cf2850980acccf6b05a1b2ae4 # v2.0
483467 with :
484468 version : 10
485469 - name : Configure OpenSSL env vars
@@ -489,7 +473,7 @@ jobs:
489473 echo "LD_LIBRARY_PATH=${GITHUB_WORKSPACE}/multissl/openssl/${OPENSSL_VER}/lib" >> "$GITHUB_ENV"
490474 - name : ' Restore OpenSSL build'
491475 id : cache-openssl
492- uses : actions/cache@v5
476+ uses : actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
493477 with :
494478 path : ./multissl/openssl/${{ env.OPENSSL_VER }}
495479 key : ${{ matrix.os }}-multissl-openssl-${{ env.OPENSSL_VER }}
@@ -500,7 +484,7 @@ jobs:
500484 run : |
501485 echo "PATH=/usr/lib/ccache:$PATH" >> "$GITHUB_ENV"
502486 - name : Configure ccache action
503- uses : hendrikmuhs/ccache-action@v1.2
487+ uses : hendrikmuhs/ccache-action@5ebbd400eff9e74630f759d94ddd7b6c26299639 # v1.2.20
504488 with :
505489 save : ${{ github.event_name == 'push' }}
506490 max-size : " 200M"
@@ -539,7 +523,6 @@ jobs:
539523 - check-autoconf-regen
540524 - check-generated-files
541525 - build-windows
542- - build-windows-msi
543526 - build-macos
544527 - build-ubuntu
545528 - build-ubuntu-ssltests
@@ -553,7 +536,6 @@ jobs:
553536 uses : re-actors/alls-green@05ac9388f0aebcb5727afa17fcccfecd6f8ec5fe
554537 with :
555538 allowed-failures : >-
556- build-windows-msi,
557539 build-ubuntu-ssltests,
558540 test-hypothesis,
559541 allowed-skips : >-
0 commit comments