Skip to content

Commit d044cd1

Browse files
committed
ENH: Fix Node.js warnings linked to GitHub actions
Fix `Node.js` warnings linked to GitHub actions: bump `actions/checkout@v4`. Take advantage of the commit to bump `upload-artifact@v4` and `actions/setup-python@v5`. Fixes: ``` Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/. ``` raised for example in: https://github.com/InsightSoftwareConsortium/ITKTrimmedPointSetRegistration/actions/runs/9753007352
1 parent 0d54bc7 commit d044cd1

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

.github/workflows/build-test-package.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ jobs:
146146
python-version: ["38", "39", "310", "311"]
147147

148148
steps:
149-
- uses: actions/checkout@v3
149+
- uses: actions/checkout@v4
150150

151151
- name: 'Free up disk space'
152152
run: |
@@ -196,7 +196,7 @@ jobs:
196196
done
197197
198198
- name: Publish Python package as GitHub Artifact
199-
uses: actions/upload-artifact@v3
199+
uses: actions/upload-artifact@v4
200200
with:
201201
name: LinuxWheel${{ matrix.python-version }}
202202
path: Evaluated/ITKModuleTemplate/dist
@@ -244,7 +244,7 @@ jobs:
244244
../../macpython-download-cache-and-build-module-wheels.sh
245245
246246
- name: Publish Python package as GitHub Artifact
247-
uses: actions/upload-artifact@v3
247+
uses: actions/upload-artifact@v4
248248
with:
249249
name: MacOSWheels
250250
path: Evaluated/ITKModuleTemplate/dist
@@ -257,15 +257,15 @@ jobs:
257257
python-version-minor: ["8", "9", "10", "11"]
258258

259259
steps:
260-
- uses: actions/checkout@v3
260+
- uses: actions/checkout@v4
261261

262262
- name: 'Install Python'
263263
run: |
264264
$pythonArch = "64"
265265
$pythonVersion = "3.${{ matrix.python-version-minor }}"
266266
iex ((new-object net.webclient).DownloadString('https://github.com/raw/scikit-build/scikit-ci-addons/master/windows/install-python.ps1'))
267267
268-
- uses: actions/setup-python@v4
268+
- uses: actions/setup-python@v5
269269
with:
270270
python-version: '3.x'
271271

@@ -315,7 +315,7 @@ jobs:
315315
C:\Python3${{ matrix.python-version-minor }}-x64\python.exe C:\P\IPP\scripts\windows_build_module_wheels.py --py-envs "3${{ matrix.python-version-minor }}-x64"
316316
317317
- name: Publish Python package as GitHub Artifact
318-
uses: actions/upload-artifact@v3
318+
uses: actions/upload-artifact@v4
319319
with:
320320
name: WindowWheel3.${{ matrix.python-version-minor }}
321321
path: Evaluated/ITKModuleTemplate/dist

.github/workflows/clang-format-linter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ jobs:
77
runs-on: ubuntu-latest
88

99
steps:
10-
- uses: actions/checkout@v3
10+
- uses: actions/checkout@v4
1111

1212
- uses: InsightSoftwareConsortium/ITKClangFormatLinterAction@master

{{cookiecutter.project_name}}/.github/workflows/clang-format-linter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ jobs:
77
runs-on: ubuntu-latest
88

99
steps:
10-
- uses: actions/checkout@v3
10+
- uses: actions/checkout@v4
1111

1212
- uses: InsightSoftwareConsortium/ITKClangFormatLinterAction@master

0 commit comments

Comments
 (0)