Skip to content

Commit 64745cf

Browse files
authored
[3.12] Bump GitHub Actions (GH-143757) (#143801)
1 parent 2750f3c commit 64745cf

14 files changed

+44
-44
lines changed

.github/workflows/build.yml

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,10 @@ jobs:
4949
needs: build-context
5050
if: needs.build-context.outputs.run-tests == 'true'
5151
steps:
52-
- uses: actions/checkout@v4
52+
- uses: actions/checkout@v6
5353
with:
5454
persist-credentials: false
55-
- uses: actions/setup-python@v5
55+
- uses: actions/setup-python@v6
5656
- name: Install dependencies
5757
run: |
5858
sudo ./.github/workflows/posix-deps-apt.sh
@@ -81,7 +81,7 @@ jobs:
8181
if: ${{ failure() && steps.check.conclusion == 'failure' }}
8282
run: |
8383
make regen-abidump
84-
- uses: actions/upload-artifact@v4
84+
- uses: actions/upload-artifact@v6
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@v4
106+
- uses: actions/checkout@v6
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@v4
143+
- uses: actions/checkout@v6
144144
with:
145145
persist-credentials: false
146-
- uses: actions/setup-python@v5
146+
- uses: actions/setup-python@v6
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@v4
152+
uses: actions/cache@v5
153153
with:
154154
path: config.cache
155155
# Include env.pythonLocation in key to avoid changes in environment when setup-python updates Python
@@ -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@v4
294+
- uses: actions/checkout@v6
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@v4
300+
uses: actions/cache@v5
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@v4
315+
uses: actions/cache@v5
316316
with:
317317
path: ./multissl/openssl/${{ env.OPENSSL_VER }}
318318
key: ${{ matrix.os }}-multissl-openssl-${{ env.OPENSSL_VER }}
@@ -345,7 +345,7 @@ jobs:
345345
OPENSSL_VER: 3.0.15
346346
PYTHONSTRICTEXTENSIONBUILD: 1
347347
steps:
348-
- uses: actions/checkout@v4
348+
- uses: actions/checkout@v6
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@v4
362+
uses: actions/cache@v5
363363
with:
364364
path: ./multissl/openssl/${{ env.OPENSSL_VER }}
365365
key: ${{ runner.os }}-multissl-openssl-${{ env.OPENSSL_VER }}
@@ -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@v4
387+
uses: actions/cache@v5
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@v4
420+
uses: actions/cache@v5
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@v4
446+
- uses: actions/upload-artifact@v6
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@v4
467+
- uses: actions/checkout@v6
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@v4
473+
uses: actions/cache@v5
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@v1
482+
uses: egor-tensin/setup-gcc@v2
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@v4
492+
uses: actions/cache@v5
493493
with:
494494
path: ./multissl/openssl/${{ env.OPENSSL_VER }}
495495
key: ${{ matrix.os }}-multissl-openssl-${{ env.OPENSSL_VER }}

.github/workflows/lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ jobs:
1919
timeout-minutes: 10
2020

2121
steps:
22-
- uses: actions/checkout@v4
22+
- uses: actions/checkout@v6
2323
with:
2424
persist-credentials: false
25-
- uses: actions/setup-python@v5
25+
- uses: actions/setup-python@v6
2626
with:
2727
python-version: "3.x"
2828
- uses: pre-commit/action@v3.0.1

.github/workflows/mypy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ jobs:
3030
runs-on: ubuntu-latest
3131
timeout-minutes: 10
3232
steps:
33-
- uses: actions/checkout@v4
33+
- uses: actions/checkout@v6
3434
with:
3535
persist-credentials: false
36-
- uses: actions/setup-python@v5
36+
- uses: actions/setup-python@v6
3737
with:
3838
python-version: "3.x"
3939
cache: pip

.github/workflows/new-bugs-announce-notifier.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ jobs:
1313
runs-on: ubuntu-latest
1414
timeout-minutes: 10
1515
steps:
16-
- uses: actions/setup-node@v4
16+
- uses: actions/setup-node@v6
1717
with:
1818
node-version: 14
1919
- run: npm install mailgun.js form-data
2020
- name: Send notification
21-
uses: actions/github-script@v7
21+
uses: actions/github-script@v8
2222
env:
2323
MAILGUN_API_KEY: ${{ secrets.MAILGUN_PYTHON_ORG_MAILGUN_KEY }}
2424
with:

.github/workflows/project-updater.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- { project: 32, label: sprint }
2525

2626
steps:
27-
- uses: actions/add-to-project@v1.0.0
27+
- uses: actions/add-to-project@v1.0.2
2828
with:
2929
project-url: https://github.com/orgs/python/projects/${{ matrix.project }}
3030
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}

.github/workflows/reusable-change-detection.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
steps:
6161
- run: >-
6262
echo '${{ github.event_name }}'
63-
- uses: actions/checkout@v4
63+
- uses: actions/checkout@v6
6464
with:
6565
persist-credentials: false
6666
- name: Check for source changes

.github/workflows/reusable-context.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,14 @@ jobs:
5050
run-windows-tests: ${{ steps.changes.outputs.run-windows-tests }}
5151
steps:
5252
- name: Set up Python
53-
uses: actions/setup-python@v5
53+
uses: actions/setup-python@v6
5454
with:
5555
python-version: "3"
5656

5757
- run: >-
5858
echo '${{ github.event_name }}'
5959
60-
- uses: actions/checkout@v4
60+
- uses: actions/checkout@v6
6161
with:
6262
persist-credentials: false
6363
ref: >-

.github/workflows/reusable-docs.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
refspec_pr: '+${{ github.event.pull_request.head.sha }}:remotes/origin/${{ github.event.pull_request.head.ref }}'
2525
steps:
2626
- name: 'Check out latest PR branch commit'
27-
uses: actions/checkout@v4
27+
uses: actions/checkout@v6
2828
with:
2929
persist-credentials: false
3030
ref: >-
@@ -49,7 +49,7 @@ jobs:
4949
git fetch origin "${refspec_base}" --shallow-since="${DATE}" \
5050
--no-tags --prune --no-recurse-submodules
5151
- name: 'Set up Python'
52-
uses: actions/setup-python@v5
52+
uses: actions/setup-python@v6
5353
with:
5454
python-version: '3'
5555
cache: 'pip'
@@ -79,10 +79,10 @@ jobs:
7979
runs-on: ubuntu-24.04
8080
timeout-minutes: 60
8181
steps:
82-
- uses: actions/checkout@v4
82+
- uses: actions/checkout@v6
8383
with:
8484
persist-credentials: false
85-
- uses: actions/cache@v4
85+
- uses: actions/cache@v5
8686
with:
8787
path: ~/.cache/pip
8888
key: ubuntu-doc-${{ hashFiles('Doc/requirements.txt') }}

.github/workflows/reusable-macos.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,13 @@ jobs:
3030
HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK: 1
3131
PYTHONSTRICTEXTENSIONBUILD: 1
3232
steps:
33-
- uses: actions/checkout@v4
33+
- uses: actions/checkout@v6
3434
with:
3535
persist-credentials: false
3636
- name: Runner image version
3737
run: echo "IMAGE_OS_VERSION=${ImageOS}-${ImageVersion}" >> "$GITHUB_ENV"
3838
- name: Restore config.cache
39-
uses: actions/cache@v4
39+
uses: actions/cache@v5
4040
with:
4141
path: config.cache
4242
key: ${{ github.job }}-${{ env.IMAGE_OS_VERSION }}-${{ inputs.config_hash }}

.github/workflows/reusable-tsan.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ jobs:
2121
runs-on: ubuntu-24.04
2222
timeout-minutes: 60
2323
steps:
24-
- uses: actions/checkout@v4
24+
- uses: actions/checkout@v6
2525
with:
2626
persist-credentials: false
2727
- name: Runner image version
2828
run: echo "IMAGE_OS_VERSION=${ImageOS}-${ImageVersion}" >> "$GITHUB_ENV"
2929
- name: Restore config.cache
30-
uses: actions/cache@v4
30+
uses: actions/cache@v5
3131
with:
3232
path: config.cache
3333
key: ${{ github.job }}-${{ env.IMAGE_OS_VERSION }}-${{ inputs.config_hash }}

0 commit comments

Comments
 (0)