5555 if : needs.check_source.outputs.run_tests == 'true'
5656 steps :
5757 - uses : actions/checkout@v4
58+ with :
59+ persist-credentials : false
5860 - uses : actions/setup-python@v5
5961 - name : Install dependencies
6062 run : |
@@ -104,11 +106,12 @@ jobs:
104106 steps :
105107 - name : Install Git
106108 run : |
107- apt install git -yq
109+ apt update && apt install git -yq
108110 git config --global --add safe.directory "$GITHUB_WORKSPACE"
109111 - uses : actions/checkout@v4
110112 with :
111113 fetch-depth : 1
114+ persist-credentials : false
112115 - name : Runner image version
113116 run : echo "IMAGE_VERSION=${ImageVersion}" >> $GITHUB_ENV
114117 - name : Check Autoconf and aclocal versions
@@ -127,7 +130,7 @@ jobs:
127130 # Check for changes in regenerated files
128131 if test -n "$changes"; then
129132 echo "Generated files not up to date."
130- echo "Perhaps you forgot to run make regen-all or build.bat --regen. ;)"
133+ echo "Perhaps you forgot to run make regen-configure ;)"
131134 echo "configure files must be regenerated with a specific version of autoconf."
132135 echo "$changes"
133136 echo ""
@@ -145,6 +148,8 @@ jobs:
145148 if : needs.check_source.outputs.run_tests == 'true'
146149 steps :
147150 - uses : actions/checkout@v4
151+ with :
152+ persist-credentials : false
148153 - uses : actions/setup-python@v5
149154 with :
150155 python-version : ' 3.x'
@@ -299,6 +304,8 @@ jobs:
299304 LD_LIBRARY_PATH : ${{ github.workspace }}/multissl/openssl/${{ matrix.openssl_ver }}/lib
300305 steps :
301306 - uses : actions/checkout@v4
307+ with :
308+ persist-credentials : false
302309 - name : Runner image version
303310 run : echo "IMAGE_VERSION=${ImageVersion}" >> $GITHUB_ENV
304311 - name : Restore config.cache
@@ -351,6 +358,8 @@ jobs:
351358 PYTHONSTRICTEXTENSIONBUILD : 1
352359 steps :
353360 - uses : actions/checkout@v4
361+ with :
362+ persist-credentials : false
354363 - name : Register gcc problem matcher
355364 run : echo "::add-matcher::.github/problem-matchers/gcc.json"
356365 - name : Install dependencies
@@ -433,7 +442,7 @@ jobs:
433442 #
434443 # (GH-104097) test_sysconfig is skipped because it has tests that are
435444 # failing when executed from inside a virtual environment.
436- ${{ env. VENV_PYTHON }} -m test \
445+ "${ VENV_PYTHON}" -m test \
437446 -W \
438447 -o \
439448 -j4 \
@@ -468,6 +477,8 @@ jobs:
468477 ASAN_OPTIONS : detect_leaks=0:allocator_may_return_null=1:handle_segv=0
469478 steps :
470479 - uses : actions/checkout@v4
480+ with :
481+ persist-credentials : false
471482 - name : Runner image version
472483 run : echo "IMAGE_VERSION=${ImageVersion}" >> $GITHUB_ENV
473484 - name : Restore config.cache
0 commit comments