Skip to content

Commit 16b8968

Browse files
author
Simon Morley
committed
ci: bump workflow actions to current majors
Updates GitHub Actions to their current major versions (checkout v7, setup-python v6, upload-artifact v7, download-artifact v8, gh-release v3), which run on Node 24 and clear the Node 20 deprecation warning. Supersedes the open Dependabot PRs.
1 parent 7ccdb7d commit 16b8968

2 files changed

Lines changed: 13 additions & 13 deletions

File tree

.github/workflows/ci.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ jobs:
1919
matrix:
2020
python-version: ["3.10", "3.11", "3.12", "3.13"]
2121
steps:
22-
- uses: actions/checkout@v4
22+
- uses: actions/checkout@v7
2323

2424
- name: Set up Python
25-
uses: actions/setup-python@v5
25+
uses: actions/setup-python@v6
2626
with:
2727
python-version: ${{ matrix.python-version }}
2828
cache: pip
@@ -57,8 +57,8 @@ jobs:
5757
name: build + metadata check
5858
runs-on: ubuntu-latest
5959
steps:
60-
- uses: actions/checkout@v4
61-
- uses: actions/setup-python@v5
60+
- uses: actions/checkout@v7
61+
- uses: actions/setup-python@v6
6262
with:
6363
python-version: "3.12"
6464
cache: pip
@@ -72,7 +72,7 @@ jobs:
7272
/tmp/clean/bin/pip install dist/*.whl
7373
/tmp/clean/bin/nrdax version
7474
/tmp/clean/bin/nrdax get NRDAX-T0006 --format json > /dev/null
75-
- uses: actions/upload-artifact@v4
75+
- uses: actions/upload-artifact@v7
7676
with:
7777
name: dist
7878
path: dist/*
@@ -81,8 +81,8 @@ jobs:
8181
name: docs build
8282
runs-on: ubuntu-latest
8383
steps:
84-
- uses: actions/checkout@v4
85-
- uses: actions/setup-python@v5
84+
- uses: actions/checkout@v7
85+
- uses: actions/setup-python@v6
8686
with:
8787
python-version: "3.12"
8888
cache: pip

.github/workflows/release.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,18 +31,18 @@ jobs:
3131
name: build distributions
3232
runs-on: ubuntu-latest
3333
steps:
34-
- uses: actions/checkout@v4
34+
- uses: actions/checkout@v7
3535
with:
3636
ref: ${{ github.event.inputs.tag || github.ref }}
37-
- uses: actions/setup-python@v5
37+
- uses: actions/setup-python@v6
3838
with:
3939
python-version: "3.12"
4040
- name: Build and check
4141
run: |
4242
python -m pip install --upgrade pip build twine
4343
python -m build
4444
twine check dist/*
45-
- uses: actions/upload-artifact@v4
45+
- uses: actions/upload-artifact@v7
4646
with:
4747
name: dist
4848
path: dist/*
@@ -54,12 +54,12 @@ jobs:
5454
permissions:
5555
contents: write
5656
steps:
57-
- uses: actions/download-artifact@v4
57+
- uses: actions/download-artifact@v8
5858
with:
5959
name: dist
6060
path: dist
6161
- name: Create GitHub Release
62-
uses: softprops/action-gh-release@v2
62+
uses: softprops/action-gh-release@v3
6363
with:
6464
tag_name: ${{ github.event.inputs.tag || github.ref_name }}
6565
name: ${{ github.event.inputs.tag || github.ref_name }}
@@ -80,7 +80,7 @@ jobs:
8080
permissions:
8181
id-token: write # required for Trusted Publishing (OIDC)
8282
steps:
83-
- uses: actions/download-artifact@v4
83+
- uses: actions/download-artifact@v8
8484
with:
8585
name: dist
8686
path: dist

0 commit comments

Comments
 (0)