Skip to content

Commit e1f8908

Browse files
[3.12] Bump GitHub Actions (pythonGH-116944) (python#116948)
(cherry picked from commit 3a99f5c) Co-authored-by: Hugo van Kemenade <[email protected]>
1 parent 547e882 commit e1f8908

11 files changed

+28
-28
lines changed

.github/workflows/build.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ jobs:
8181
- name: Get a list of the changed documentation-related files
8282
if: github.event_name == 'pull_request'
8383
id: changed-docs-files
84-
uses: Ana06/get-changed-files@v2.2.0
84+
uses: Ana06/get-changed-files@v2.3.0
8585
with:
8686
filter: |
8787
Doc/**
@@ -109,7 +109,7 @@ jobs:
109109
if: needs.check_source.outputs.run_tests == 'true'
110110
steps:
111111
- uses: actions/checkout@v4
112-
- uses: actions/setup-python@v4
112+
- uses: actions/setup-python@v5
113113
- name: Install dependencies
114114
run: |
115115
sudo ./.github/workflows/posix-deps-apt.sh
@@ -138,7 +138,7 @@ jobs:
138138
if: ${{ failure() && steps.check.conclusion == 'failure' }}
139139
run: |
140140
make regen-abidump
141-
- uses: actions/upload-artifact@v3
141+
- uses: actions/upload-artifact@v4
142142
name: Publish updated ABI files
143143
if: ${{ failure() && steps.check.conclusion == 'failure' }}
144144
with:
@@ -155,13 +155,13 @@ jobs:
155155
if: needs.check_source.outputs.run_tests == 'true'
156156
steps:
157157
- uses: actions/checkout@v4
158-
- uses: actions/setup-python@v4
158+
- uses: actions/setup-python@v5
159159
with:
160160
python-version: '3.x'
161161
- name: Runner image version
162162
run: echo "IMAGE_VERSION=${ImageVersion}" >> $GITHUB_ENV
163163
- name: Restore config.cache
164-
uses: actions/cache@v3
164+
uses: actions/cache@v4
165165
with:
166166
path: config.cache
167167
key: ${{ github.job }}-${{ runner.os }}-${{ env.IMAGE_VERSION }}-${{ needs.check_source.outputs.config_hash }}-${{ env.pythonLocation }}
@@ -262,7 +262,7 @@ jobs:
262262
- name: Runner image version
263263
run: echo "IMAGE_VERSION=${ImageVersion}" >> $GITHUB_ENV
264264
- name: Restore config.cache
265-
uses: actions/cache@v3
265+
uses: actions/cache@v4
266266
with:
267267
path: config.cache
268268
key: ${{ github.job }}-${{ runner.os }}-${{ env.IMAGE_VERSION }}-${{ needs.check_source.outputs.config_hash }}
@@ -277,7 +277,7 @@ jobs:
277277
echo "LD_LIBRARY_PATH=${GITHUB_WORKSPACE}/multissl/openssl/${OPENSSL_VER}/lib" >> $GITHUB_ENV
278278
- name: 'Restore OpenSSL build'
279279
id: cache-openssl
280-
uses: actions/cache@v3
280+
uses: actions/cache@v4
281281
with:
282282
path: ./multissl/openssl/${{ env.OPENSSL_VER }}
283283
key: ${{ runner.os }}-multissl-openssl-${{ env.OPENSSL_VER }}
@@ -322,7 +322,7 @@ jobs:
322322
echo "LD_LIBRARY_PATH=${GITHUB_WORKSPACE}/multissl/openssl/${OPENSSL_VER}/lib" >> $GITHUB_ENV
323323
- name: 'Restore OpenSSL build'
324324
id: cache-openssl
325-
uses: actions/cache@v3
325+
uses: actions/cache@v4
326326
with:
327327
path: ./multissl/openssl/${{ env.OPENSSL_VER }}
328328
key: ${{ runner.os }}-multissl-openssl-${{ env.OPENSSL_VER }}
@@ -347,7 +347,7 @@ jobs:
347347
- name: Runner image version
348348
run: echo "IMAGE_VERSION=${ImageVersion}" >> $GITHUB_ENV
349349
- name: Restore config.cache
350-
uses: actions/cache@v3
350+
uses: actions/cache@v4
351351
with:
352352
path: ${{ env.CPYTHON_BUILDDIR }}/config.cache
353353
key: ${{ github.job }}-${{ runner.os }}-${{ env.IMAGE_VERSION }}-${{ needs.check_source.outputs.config_hash }}
@@ -380,7 +380,7 @@ jobs:
380380
./python -m venv $VENV_LOC && $VENV_PYTHON -m pip install -r ${GITHUB_WORKSPACE}/Tools/requirements-hypothesis.txt
381381
- name: 'Restore Hypothesis database'
382382
id: cache-hypothesis-database
383-
uses: actions/cache@v3
383+
uses: actions/cache@v4
384384
with:
385385
path: ./hypothesis
386386
key: hypothesis-database-${{ github.head_ref || github.run_id }}
@@ -406,7 +406,7 @@ jobs:
406406
-x test_subprocess \
407407
-x test_signal \
408408
-x test_sysconfig
409-
- uses: actions/upload-artifact@v3
409+
- uses: actions/upload-artifact@v4
410410
if: always()
411411
with:
412412
name: hypothesis-example-db
@@ -428,7 +428,7 @@ jobs:
428428
- name: Runner image version
429429
run: echo "IMAGE_VERSION=${ImageVersion}" >> $GITHUB_ENV
430430
- name: Restore config.cache
431-
uses: actions/cache@v3
431+
uses: actions/cache@v4
432432
with:
433433
path: config.cache
434434
key: ${{ github.job }}-${{ runner.os }}-${{ env.IMAGE_VERSION }}-${{ needs.check_source.outputs.config_hash }}
@@ -447,7 +447,7 @@ jobs:
447447
echo "LD_LIBRARY_PATH=${GITHUB_WORKSPACE}/multissl/openssl/${OPENSSL_VER}/lib" >> $GITHUB_ENV
448448
- name: 'Restore OpenSSL build'
449449
id: cache-openssl
450-
uses: actions/cache@v3
450+
uses: actions/cache@v4
451451
with:
452452
path: ./multissl/openssl/${{ env.OPENSSL_VER }}
453453
key: ${{ runner.os }}-multissl-openssl-${{ env.OPENSSL_VER }}

.github/workflows/lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020

2121
steps:
2222
- uses: actions/checkout@v4
23-
- uses: actions/setup-python@v4
23+
- uses: actions/setup-python@v5
2424
with:
2525
python-version: "3.x"
26-
- uses: pre-commit/[email protected].0
26+
- uses: pre-commit/[email protected].1

.github/workflows/mypy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
timeout-minutes: 10
3232
steps:
3333
- uses: actions/checkout@v4
34-
- uses: actions/setup-python@v4
34+
- uses: actions/setup-python@v5
3535
with:
3636
python-version: "3.x"
3737
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@v3
16+
- uses: actions/setup-node@v4
1717
with:
1818
node-version: 14
1919
- run: npm install mailgun.js form-data
2020
- name: Send notification
21-
uses: actions/github-script@v6
21+
uses: actions/github-script@v7
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
@@ -23,7 +23,7 @@ jobs:
2323
- { project: 32, label: sprint }
2424

2525
steps:
26-
- uses: actions/add-to-project@v0.1.0
26+
- uses: actions/add-to-project@v0.6.0
2727
with:
2828
project-url: https://github.com/orgs/python/projects/${{ matrix.project }}
2929
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}

.github/workflows/require-pr-label.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
timeout-minutes: 10
1717

1818
steps:
19-
- uses: mheap/github-action-required-labels@v4
19+
- uses: mheap/github-action-required-labels@v5
2020
with:
2121
mode: exactly
2222
count: 0

.github/workflows/reusable-docs.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
git fetch origin ${{ env.refspec_base }} --shallow-since="${DATE}" \
4242
--no-tags --prune --no-recurse-submodules
4343
- name: 'Set up Python'
44-
uses: actions/setup-python@v4
44+
uses: actions/setup-python@v5
4545
with:
4646
python-version: '3'
4747
cache: 'pip'
@@ -72,7 +72,7 @@ jobs:
7272
steps:
7373
- uses: actions/checkout@v4
7474
- name: 'Set up Python'
75-
uses: actions/setup-python@v4
75+
uses: actions/setup-python@v5
7676
with:
7777
python-version: '3.11' # known to work with Sphinx 4.2
7878
cache: 'pip'
@@ -89,7 +89,7 @@ jobs:
8989
timeout-minutes: 60
9090
steps:
9191
- uses: actions/checkout@v4
92-
- uses: actions/cache@v3
92+
- uses: actions/cache@v4
9393
with:
9494
path: ~/.cache/pip
9595
key: ubuntu-doc-${{ hashFiles('Doc/requirements.txt') }}

.github/workflows/reusable-macos.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
- name: Runner image version
3333
run: echo "IMAGE_VERSION=${ImageVersion}" >> $GITHUB_ENV
3434
- name: Restore config.cache
35-
uses: actions/cache@v3
35+
uses: actions/cache@v4
3636
with:
3737
path: config.cache
3838
key: ${{ github.job }}-${{ matrix.os }}-${{ env.IMAGE_VERSION }}-${{ inputs.config_hash }}

.github/workflows/reusable-ubuntu.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
echo "LD_LIBRARY_PATH=${GITHUB_WORKSPACE}/multissl/openssl/${OPENSSL_VER}/lib" >> $GITHUB_ENV
3030
- name: 'Restore OpenSSL build'
3131
id: cache-openssl
32-
uses: actions/cache@v3
32+
uses: actions/cache@v4
3333
with:
3434
path: ./multissl/openssl/${{ env.OPENSSL_VER }}
3535
key: ${{ runner.os }}-multissl-openssl-${{ env.OPENSSL_VER }}
@@ -55,7 +55,7 @@ jobs:
5555
- name: Runner image version
5656
run: echo "IMAGE_VERSION=${ImageVersion}" >> $GITHUB_ENV
5757
- name: Restore config.cache
58-
uses: actions/cache@v3
58+
uses: actions/cache@v4
5959
with:
6060
path: ${{ env.CPYTHON_BUILDDIR }}/config.cache
6161
key: ${{ github.job }}-${{ runner.os }}-${{ env.IMAGE_VERSION }}-${{ inputs.config_hash }}

.github/workflows/stale.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616

1717
steps:
1818
- name: "Check PRs"
19-
uses: actions/stale@v8
19+
uses: actions/stale@v9
2020
with:
2121
repo-token: ${{ secrets.GITHUB_TOKEN }}
2222
stale-pr-message: 'This PR is stale because it has been open for 30 days with no activity.'

.github/workflows/verify-ensurepip-wheels.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
timeout-minutes: 10
2727
steps:
2828
- uses: actions/checkout@v4
29-
- uses: actions/setup-python@v4
29+
- uses: actions/setup-python@v5
3030
with:
3131
python-version: '3'
3232
- name: Compare checksum of bundled wheels to the ones published on PyPI

0 commit comments

Comments
 (0)