Skip to content

Commit

Permalink
ENH: Bump checkout and setup-python GitHub actions versions
Browse files Browse the repository at this point in the history
Bump checkout and setup-python GitHub actions versions.

Fixes:
```
The following actions use a deprecated Node.js version and will be forced to run on node20:
 actions/checkout@v3, actions/setup-python@v4, lukka/get-cmake@v3.24.2.
 For more info:
 https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
```

raised for example at:
https://github.com/InsightSoftwareConsortium/ITKSphinxExamples/actions/runs/11685104025/job/32537786966
  • Loading branch information
jhlegarreta committed Nov 6, 2024
1 parent e7af663 commit 3df5ef3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/build-test-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ jobs:
cmake-build-type: "MinSizeRel"

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
path: Ex

- name: Set up Python 3.9
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: 3.9

Expand Down Expand Up @@ -151,12 +151,12 @@ jobs:
cmake-build-type: "MinSizeRel"

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
path: Ex

- name: Set up Python 3.9
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: 3.9

Expand Down Expand Up @@ -237,9 +237,9 @@ jobs:
os: [ubuntu-22.04, windows-2022, macos-13]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python 3.9
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: 3.9

Expand Down Expand Up @@ -271,13 +271,13 @@ jobs:
cmake-build-type: "Release"

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
path: Ex
submodules: recursive

- name: Set up Python 3.9
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: 3.9

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
# Full git history is needed to get a proper
# list of changed files within `super-linter`
Expand All @@ -17,7 +17,7 @@ jobs:
uses: InsightSoftwareConsortium/ITKClangFormatLinterAction@master

- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: 3.9

Expand Down

0 comments on commit 3df5ef3

Please sign in to comment.