2525permissions :
2626 contents : read
2727
28+ concurrency :
29+ group : ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
30+ cancel-in-progress : true
31+
2832jobs :
2933 check_source :
3034 name : ' Check for source changes'
3741 id : check
3842 run : |
3943 if [ -z "$GITHUB_BASE_REF" ]; then
40- echo '::set-output name= run_tests:: true'
44+ echo " run_tests= true" >> $GITHUB_OUTPUT
4145 else
4246 git fetch origin $GITHUB_BASE_REF --depth=1
4347 # git diff "origin/$GITHUB_BASE_REF..." (3 dots) may be more
5357 # into the PR branch anyway.
5458 #
5559 # https://github.com/python/core-workflow/issues/373
56- git diff --name-only origin/$GITHUB_BASE_REF.. | grep -qvE '(\.rst$|^Doc|^Misc)' && echo '::set-output name= run_tests:: true' || true
60+ git diff --name-only origin/$GITHUB_BASE_REF.. | grep -qvE '(\.rst$|^Doc|^Misc)' && echo " run_tests= true" >> $GITHUB_OUTPUT || true
5761 fi
5862
5963 check_generated_files :
6973 - name : Add ccache to PATH
7074 run : echo "PATH=/usr/lib/ccache:$PATH" >> $GITHUB_ENV
7175 - name : Configure ccache action
72- uses : hendrikmuhs/ccache-action@v1
76+ uses : hendrikmuhs/ccache-action@v1.2
7377 - name : Check Autoconf version 2.69 and aclocal 1.16.3
7478 run : |
7579 grep "Generated by GNU Autoconf 2.69" configure
@@ -172,7 +176,7 @@ jobs:
172176 needs : check_source
173177 if : needs.check_source.outputs.run_tests == 'true'
174178 env :
175- OPENSSL_VER : 1.1.1q
179+ OPENSSL_VER : 1.1.1s
176180 PYTHONSTRICTEXTENSIONBUILD : 1
177181 steps :
178182 - uses : actions/checkout@v3
@@ -198,7 +202,7 @@ jobs:
198202 run : |
199203 echo "PATH=/usr/lib/ccache:$PATH" >> $GITHUB_ENV
200204 - name : Configure ccache action
201- uses : hendrikmuhs/ccache-action@v1
205+ uses : hendrikmuhs/ccache-action@v1.2
202206 - name : Setup directory envs for out-of-tree builds
203207 run : |
204208 echo "CPYTHON_RO_SRCDIR=$(realpath -m ${GITHUB_WORKSPACE}/../cpython-ro-srcdir)" >> $GITHUB_ENV
@@ -231,7 +235,7 @@ jobs:
231235 strategy :
232236 fail-fast : false
233237 matrix :
234- openssl_ver : [1.1.1q , 3.0.5 ]
238+ openssl_ver : [1.1.1s , 3.0.7 ]
235239 env :
236240 OPENSSL_VER : ${{ matrix.openssl_ver }}
237241 MULTISSL_DIR : ${{ github.workspace }}/multissl
@@ -261,7 +265,7 @@ jobs:
261265 run : |
262266 echo "PATH=/usr/lib/ccache:$PATH" >> $GITHUB_ENV
263267 - name : Configure ccache action
264- uses : hendrikmuhs/ccache-action@v1
268+ uses : hendrikmuhs/ccache-action@v1.2
265269 - name : Configure CPython
266270 run : ./configure --with-pydebug --with-openssl=$OPENSSL_DIR
267271 - name : Build CPython
@@ -278,7 +282,7 @@ jobs:
278282 needs : check_source
279283 if : needs.check_source.outputs.run_tests == 'true'
280284 env :
281- OPENSSL_VER : 1.1.1q
285+ OPENSSL_VER : 1.1.1s
282286 PYTHONSTRICTEXTENSIONBUILD : 1
283287 ASAN_OPTIONS : detect_leaks=0:allocator_may_return_null=1:handle_segv=0
284288 steps :
@@ -305,7 +309,7 @@ jobs:
305309 run : |
306310 echo "PATH=/usr/lib/ccache:$PATH" >> $GITHUB_ENV
307311 - name : Configure ccache action
308- uses : hendrikmuhs/ccache-action@v1
312+ uses : hendrikmuhs/ccache-action@v1.2
309313 - name : Configure CPython
310314 run : ./configure --with-address-sanitizer --without-pymalloc
311315 - name : Build CPython
0 commit comments