@@ -128,7 +128,7 @@ jobs:
128128 if : needs.check_source.outputs.run_tests == 'true'
129129 steps :
130130 - uses : actions/checkout@v4
131- - uses : actions/setup-python@v4
131+ - uses : actions/setup-python@v5
132132 with :
133133 python-version : ' 3.x'
134134 - name : Restore config.cache
@@ -142,6 +142,8 @@ jobs:
142142 run : echo "PATH=/usr/lib/ccache:$PATH" >> $GITHUB_ENV
143143 - name : Configure ccache action
144144 uses : hendrikmuhs/ccache-action@v1.2
145+ with :
146+ save : false
145147 - name : Check Autoconf and aclocal versions
146148 run : |
147149 grep "Generated by GNU Autoconf 2.71" configure
@@ -187,13 +189,13 @@ jobs:
187189 if : needs.check_source.outputs.run_tests == 'true'
188190 uses : ./.github/workflows/reusable-windows.yml
189191
190- build_windows_free_threaded :
191- name : ' Windows (free-threaded )'
192+ build_windows_free_threading :
193+ name : ' Windows (free-threading )'
192194 needs : check_source
193195 if : needs.check_source.outputs.run_tests == 'true'
194196 uses : ./.github/workflows/reusable-windows.yml
195197 with :
196- free-threaded : true
198+ free-threading : true
197199
198200 build_macos :
199201 name : ' macOS'
@@ -203,14 +205,14 @@ jobs:
203205 with :
204206 config_hash : ${{ needs.check_source.outputs.config_hash }}
205207
206- build_macos_free_threaded :
207- name : ' macOS (free-threaded )'
208+ build_macos_free_threading :
209+ name : ' macOS (free-threading )'
208210 needs : check_source
209211 if : needs.check_source.outputs.run_tests == 'true'
210212 uses : ./.github/workflows/reusable-macos.yml
211213 with :
212214 config_hash : ${{ needs.check_source.outputs.config_hash }}
213- free-threaded : true
215+ free-threading : true
214216
215217 build_ubuntu :
216218 name : ' Ubuntu'
@@ -225,8 +227,8 @@ jobs:
225227 --with-pydebug \
226228 --with-openssl=$OPENSSL_DIR
227229
228- build_ubuntu_free_threaded :
229- name : ' Ubuntu (free-threaded )'
230+ build_ubuntu_free_threading :
231+ name : ' Ubuntu (free-threading )'
230232 needs : check_source
231233 if : needs.check_source.outputs.run_tests == 'true'
232234 uses : ./.github/workflows/reusable-ubuntu.yml
@@ -284,6 +286,8 @@ jobs:
284286 echo "PATH=/usr/lib/ccache:$PATH" >> $GITHUB_ENV
285287 - name : Configure ccache action
286288 uses : hendrikmuhs/ccache-action@v1.2
289+ with :
290+ save : false
287291 - name : Configure CPython
288292 run : ./configure --config-cache --with-pydebug --with-openssl=$OPENSSL_DIR
289293 - name : Build CPython
@@ -327,6 +331,8 @@ jobs:
327331 echo "PATH=/usr/lib/ccache:$PATH" >> $GITHUB_ENV
328332 - name : Configure ccache action
329333 uses : hendrikmuhs/ccache-action@v1.2
334+ with :
335+ save : false
330336 - name : Setup directory envs for out-of-tree builds
331337 run : |
332338 echo "CPYTHON_RO_SRCDIR=$(realpath -m ${GITHUB_WORKSPACE}/../cpython-ro-srcdir)" >> $GITHUB_ENV
@@ -395,7 +401,7 @@ jobs:
395401 -x test_subprocess \
396402 -x test_signal \
397403 -x test_sysconfig
398- - uses : actions/upload-artifact@v3
404+ - uses : actions/upload-artifact@v4
399405 if : always()
400406 with :
401407 name : hypothesis-example-db
@@ -446,6 +452,8 @@ jobs:
446452 echo "PATH=/usr/lib/ccache:$PATH" >> $GITHUB_ENV
447453 - name : Configure ccache action
448454 uses : hendrikmuhs/ccache-action@v1.2
455+ with :
456+ save : ${{ github.event_name == 'push' }}
449457 - name : Configure CPython
450458 run : ./configure --config-cache --with-address-sanitizer --without-pymalloc
451459 - name : Build CPython
@@ -483,14 +491,14 @@ jobs:
483491 output-sarif : true
484492 sanitizer : ${{ matrix.sanitizer }}
485493 - name : Upload crash
486- uses : actions/upload-artifact@v3
494+ uses : actions/upload-artifact@v4
487495 if : failure() && steps.build.outcome == 'success'
488496 with :
489497 name : ${{ matrix.sanitizer }}-artifacts
490498 path : ./out/artifacts
491499 - name : Upload SARIF
492500 if : always() && steps.build.outcome == 'success'
493- uses : github/codeql-action/upload-sarif@v2
501+ uses : github/codeql-action/upload-sarif@v3
494502 with :
495503 sarif_file : cifuzz-sarif/results.sarif
496504 checkout_path : cifuzz-sarif
@@ -504,12 +512,12 @@ jobs:
504512 - check-docs
505513 - check_generated_files
506514 - build_macos
507- - build_macos_free_threaded
515+ - build_macos_free_threading
508516 - build_ubuntu
509- - build_ubuntu_free_threaded
517+ - build_ubuntu_free_threading
510518 - build_ubuntu_ssltests
511519 - build_windows
512- - build_windows_free_threaded
520+ - build_windows_free_threading
513521 - test_hypothesis
514522 - build_asan
515523 - cifuzz
@@ -537,12 +545,12 @@ jobs:
537545 && '
538546 check_generated_files,
539547 build_macos,
540- build_macos_free_threaded ,
548+ build_macos_free_threading ,
541549 build_ubuntu,
542- build_ubuntu_free_threaded ,
550+ build_ubuntu_free_threading ,
543551 build_ubuntu_ssltests,
544552 build_windows,
545- build_windows_free_threaded ,
553+ build_windows_free_threading ,
546554 build_asan,
547555 '
548556 || ''
0 commit comments