Skip to content

Commit b6c6c47

Browse files
authored
[3.13] Bump GitHub Actions (GH-143757) (#143798)
1 parent 3dd9afc commit b6c6c47

16 files changed

+49
-49
lines changed

.github/workflows/add-issue-header.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
issues: write
2121
timeout-minutes: 5
2222
steps:
23-
- uses: actions/github-script@v7
23+
- uses: actions/github-script@v8
2424
with:
2525
# language=JavaScript
2626
script: |

.github/workflows/build.yml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,10 @@ jobs:
5555
needs: build-context
5656
if: needs.build-context.outputs.run-tests == 'true'
5757
steps:
58-
- uses: actions/checkout@v4
58+
- uses: actions/checkout@v6
5959
with:
6060
persist-credentials: false
61-
- uses: actions/setup-python@v5
61+
- uses: actions/setup-python@v6
6262
- name: Install dependencies
6363
run: |
6464
sudo ./.github/workflows/posix-deps-apt.sh
@@ -87,7 +87,7 @@ jobs:
8787
if: ${{ failure() && steps.check.conclusion == 'failure' }}
8888
run: |
8989
make regen-abidump
90-
- uses: actions/upload-artifact@v4
90+
- uses: actions/upload-artifact@v6
9191
name: Publish updated ABI files
9292
if: ${{ failure() && steps.check.conclusion == 'failure' }}
9393
with:
@@ -109,7 +109,7 @@ jobs:
109109
run: |
110110
apt update && apt install git -yq
111111
git config --global --add safe.directory "$GITHUB_WORKSPACE"
112-
- uses: actions/checkout@v4
112+
- uses: actions/checkout@v6
113113
with:
114114
fetch-depth: 1
115115
persist-credentials: false
@@ -146,10 +146,10 @@ jobs:
146146
needs: build-context
147147
if: needs.build-context.outputs.run-tests == 'true'
148148
steps:
149-
- uses: actions/checkout@v4
149+
- uses: actions/checkout@v6
150150
with:
151151
persist-credentials: false
152-
- uses: actions/setup-python@v5
152+
- uses: actions/setup-python@v6
153153
with:
154154
python-version: '3.x'
155155
- name: Runner image version
@@ -300,7 +300,7 @@ jobs:
300300
OPENSSL_DIR: ${{ github.workspace }}/multissl/openssl/${{ matrix.openssl_ver }}
301301
LD_LIBRARY_PATH: ${{ github.workspace }}/multissl/openssl/${{ matrix.openssl_ver }}/lib
302302
steps:
303-
- uses: actions/checkout@v4
303+
- uses: actions/checkout@v6
304304
with:
305305
persist-credentials: false
306306
- name: Runner image version
@@ -316,7 +316,7 @@ jobs:
316316
echo "LD_LIBRARY_PATH=${GITHUB_WORKSPACE}/multissl/openssl/${OPENSSL_VER}/lib" >> "$GITHUB_ENV"
317317
- name: 'Restore OpenSSL build'
318318
id: cache-openssl
319-
uses: actions/cache@v4
319+
uses: actions/cache@v5
320320
with:
321321
path: ./multissl/openssl/${{ env.OPENSSL_VER }}
322322
key: ${{ matrix.os }}-multissl-openssl-${{ env.OPENSSL_VER }}
@@ -351,7 +351,7 @@ jobs:
351351

352352
runs-on: ${{ matrix.runs-on }}
353353
steps:
354-
- uses: actions/checkout@v4
354+
- uses: actions/checkout@v6
355355
with:
356356
persist-credentials: false
357357
- name: Build and test
@@ -373,7 +373,7 @@ jobs:
373373
OPENSSL_VER: 3.0.18
374374
PYTHONSTRICTEXTENSIONBUILD: 1
375375
steps:
376-
- uses: actions/checkout@v4
376+
- uses: actions/checkout@v6
377377
with:
378378
persist-credentials: false
379379
- name: Register gcc problem matcher
@@ -387,7 +387,7 @@ jobs:
387387
echo "LD_LIBRARY_PATH=${GITHUB_WORKSPACE}/multissl/openssl/${OPENSSL_VER}/lib" >> "$GITHUB_ENV"
388388
- name: 'Restore OpenSSL build'
389389
id: cache-openssl
390-
uses: actions/cache@v4
390+
uses: actions/cache@v5
391391
with:
392392
path: ./multissl/openssl/${{ env.OPENSSL_VER }}
393393
key: ${{ runner.os }}-multissl-openssl-${{ env.OPENSSL_VER }}
@@ -436,7 +436,7 @@ jobs:
436436
./python -m venv "$VENV_LOC" && "$VENV_PYTHON" -m pip install -r "${GITHUB_WORKSPACE}/Tools/requirements-hypothesis.txt"
437437
- name: 'Restore Hypothesis database'
438438
id: cache-hypothesis-database
439-
uses: actions/cache@v4
439+
uses: actions/cache@v5
440440
with:
441441
path: ${{ env.CPYTHON_BUILDDIR }}/.hypothesis/
442442
key: hypothesis-database-${{ github.head_ref || github.run_id }}
@@ -463,7 +463,7 @@ jobs:
463463
-x test_subprocess \
464464
-x test_signal \
465465
-x test_sysconfig
466-
- uses: actions/upload-artifact@v4
466+
- uses: actions/upload-artifact@v6
467467
if: always()
468468
with:
469469
name: hypothesis-example-db
@@ -484,7 +484,7 @@ jobs:
484484
PYTHONSTRICTEXTENSIONBUILD: 1
485485
ASAN_OPTIONS: detect_leaks=0:allocator_may_return_null=1:handle_segv=0
486486
steps:
487-
- uses: actions/checkout@v4
487+
- uses: actions/checkout@v6
488488
with:
489489
persist-credentials: false
490490
- name: Runner image version
@@ -494,7 +494,7 @@ jobs:
494494
- name: Install dependencies
495495
run: sudo ./.github/workflows/posix-deps-apt.sh
496496
- name: Set up GCC-10 for ASAN
497-
uses: egor-tensin/setup-gcc@v1
497+
uses: egor-tensin/setup-gcc@v2
498498
with:
499499
version: 10
500500
- name: Configure OpenSSL env vars
@@ -504,7 +504,7 @@ jobs:
504504
echo "LD_LIBRARY_PATH=${GITHUB_WORKSPACE}/multissl/openssl/${OPENSSL_VER}/lib" >> "$GITHUB_ENV"
505505
- name: 'Restore OpenSSL build'
506506
id: cache-openssl
507-
uses: actions/cache@v4
507+
uses: actions/cache@v5
508508
with:
509509
path: ./multissl/openssl/${{ env.OPENSSL_VER }}
510510
key: ${{ matrix.os }}-multissl-openssl-${{ env.OPENSSL_VER }}
@@ -572,7 +572,7 @@ jobs:
572572
sanitizer: ${{ matrix.sanitizer }}
573573
- name: Upload crash
574574
if: failure() && steps.build.outcome == 'success'
575-
uses: actions/upload-artifact@v4
575+
uses: actions/upload-artifact@v6
576576
with:
577577
name: ${{ matrix.sanitizer }}-artifacts
578578
path: ./out/artifacts

.github/workflows/jit.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
runs-on: ubuntu-latest
3535
timeout-minutes: 90
3636
steps:
37-
- uses: actions/checkout@v4
37+
- uses: actions/checkout@v6
3838
with:
3939
persist-credentials: false
4040
- name: Build tier two interpreter
@@ -107,10 +107,10 @@ jobs:
107107
env:
108108
CC: ${{ matrix.compiler }}
109109
steps:
110-
- uses: actions/checkout@v4
110+
- uses: actions/checkout@v6
111111
with:
112112
persist-credentials: false
113-
- uses: actions/setup-python@v5
113+
- uses: actions/setup-python@v6
114114
with:
115115
python-version: '3.11'
116116

@@ -174,10 +174,10 @@ jobs:
174174
runs-on: ubuntu-latest
175175
timeout-minutes: 90
176176
steps:
177-
- uses: actions/checkout@v4
177+
- uses: actions/checkout@v6
178178
with:
179179
persist-credentials: false
180-
- uses: actions/setup-python@v5
180+
- uses: actions/setup-python@v6
181181
with:
182182
python-version: '3.11'
183183
- name: Build with JIT enabled and GIL disabled

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
timeout-minutes: 10
2020

2121
steps:
22-
- uses: actions/checkout@v4
22+
- uses: actions/checkout@v6
2323
with:
2424
persist-credentials: false
2525
- uses: j178/prek-action@v1

.github/workflows/mypy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,10 @@ jobs:
6262
"Tools/peg_generator",
6363
]
6464
steps:
65-
- uses: actions/checkout@v4
65+
- uses: actions/checkout@v6
6666
with:
6767
persist-credentials: false
68-
- uses: actions/setup-python@v5
68+
- uses: actions/setup-python@v6
6969
with:
7070
python-version: "3.13"
7171
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: 20
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-context.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,14 +62,14 @@ jobs:
6262
run-windows-tests: ${{ steps.changes.outputs.run-windows-tests }}
6363
steps:
6464
- name: Set up Python
65-
uses: actions/setup-python@v5
65+
uses: actions/setup-python@v6
6666
with:
6767
python-version: "3"
6868

6969
- run: >-
7070
echo '${{ github.event_name }}'
7171
72-
- uses: actions/checkout@v4
72+
- uses: actions/checkout@v6
7373
with:
7474
persist-credentials: false
7575
ref: >-

.github/workflows/reusable-docs.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
refspec_pr: '+${{ github.event.pull_request.head.sha }}:remotes/origin/${{ github.event.pull_request.head.ref }}'
2828
steps:
2929
- name: 'Check out latest PR branch commit'
30-
uses: actions/checkout@v4
30+
uses: actions/checkout@v6
3131
with:
3232
persist-credentials: false
3333
ref: >-
@@ -52,7 +52,7 @@ jobs:
5252
git fetch origin "${refspec_base}" --shallow-since="${DATE}" \
5353
--no-tags --prune --no-recurse-submodules
5454
- name: 'Set up Python'
55-
uses: actions/setup-python@v5
55+
uses: actions/setup-python@v6
5656
with:
5757
python-version: '3'
5858
cache: 'pip'
@@ -82,10 +82,10 @@ jobs:
8282
runs-on: ubuntu-24.04
8383
timeout-minutes: 60
8484
steps:
85-
- uses: actions/checkout@v4
85+
- uses: actions/checkout@v6
8686
with:
8787
persist-credentials: false
88-
- uses: actions/cache@v4
88+
- uses: actions/cache@v5
8989
with:
9090
path: ~/.cache/pip
9191
key: ubuntu-doc-${{ hashFiles('Doc/requirements.txt') }}
@@ -108,11 +108,11 @@ jobs:
108108
runs-on: ubuntu-latest
109109
timeout-minutes: 30
110110
steps:
111-
- uses: actions/checkout@v4
111+
- uses: actions/checkout@v6
112112
with:
113113
persist-credentials: false
114114
- name: 'Set up Python'
115-
uses: actions/setup-python@v5
115+
uses: actions/setup-python@v6
116116
with:
117117
python-version: '3'
118118
cache: 'pip'

.github/workflows/reusable-macos.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
PYTHONSTRICTEXTENSIONBUILD: 1
2929
TERM: linux
3030
steps:
31-
- uses: actions/checkout@v4
31+
- uses: actions/checkout@v6
3232
with:
3333
persist-credentials: false
3434
- name: Runner image version

0 commit comments

Comments
 (0)