Skip to content

Commit e797f83

Browse files
salmanmkcaparnajyothi-ypriya-kinthali
authored
Upgrade to node 24 (#1164)
* Upgrade to node 24 Upgrade ot node * licence manual updates * pckage.json version update * version update * update package-lock.json * upgrade `actions/checkout` to v5 and `actions/setup-python` to v6 in README.md * upgrade `actions/checkout` to v5 and `actions/setup-python` to v6 in advanced-usage.md Updated GitHub Actions to use newer versions of checkout and setup-python actions. * node-version update in the workflows --------- Co-authored-by: Aparna Jyothi <aparnajyothi-y@github.com> Co-authored-by: priya-kinthali <147703874+priya-kinthali@users.noreply.github.com>
1 parent 3d1e2d2 commit e797f83

File tree

9 files changed

+100
-92
lines changed

9 files changed

+100
-92
lines changed

.github/workflows/basic-validation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ jobs:
1414
name: Basic validation
1515
uses: actions/reusable-workflows/.github/workflows/basic-validation.yml@main
1616
with:
17-
node-version: '20.x'
17+
node-version: '24.x'

.github/workflows/check-dist.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ jobs:
1616
name: Check dist/
1717
uses: actions/reusable-workflows/.github/workflows/check-dist.yml@main
1818
with:
19-
node-version: '20.x'
19+
node-version: '24.x'

.licenses/npm/@types/node.dep.yml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.licenses/npm/undici-types.dep.yml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ See [action.yml](action.yml)
1818
**Python**
1919
```yaml
2020
steps:
21-
- uses: actions/checkout@v4
22-
- uses: actions/setup-python@v5
21+
- uses: actions/checkout@v5
22+
- uses: actions/setup-python@v6
2323
with:
2424
python-version: '3.13'
2525
- run: python my_script.py
@@ -28,8 +28,8 @@ steps:
2828
**PyPy**
2929
```yaml
3030
steps:
31-
- uses: actions/checkout@v4
32-
- uses: actions/setup-python@v5
31+
- uses: actions/checkout@v5
32+
- uses: actions/setup-python@v6
3333
with:
3434
python-version: 'pypy3.10'
3535
- run: python my_script.py
@@ -38,8 +38,8 @@ steps:
3838
**GraalPy**
3939
```yaml
4040
steps:
41-
- uses: actions/checkout@v4
42-
- uses: actions/setup-python@v5
41+
- uses: actions/checkout@v5
42+
- uses: actions/setup-python@v6
4343
with:
4444
python-version: 'graalpy-24.0'
4545
- run: python my_script.py
@@ -48,8 +48,8 @@ steps:
4848
**Free threaded Python**
4949
```yaml
5050
steps:
51-
- uses: actions/checkout@v4
52-
- uses: actions/setup-python@v5
51+
- uses: actions/checkout@v5
52+
- uses: actions/setup-python@v6
5353
with:
5454
python-version: '3.13t'
5555
- run: python my_script.py
@@ -83,8 +83,8 @@ The action defaults to searching for a dependency file (`requirements.txt` or `p
8383

8484
```yaml
8585
steps:
86-
- uses: actions/checkout@v4
87-
- uses: actions/setup-python@v5
86+
- uses: actions/checkout@v5
87+
- uses: actions/setup-python@v6
8888
with:
8989
python-version: '3.13'
9090
cache: 'pip' # caching pip dependencies

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ outputs:
3939
python-path:
4040
description: "The absolute path to the Python or PyPy executable."
4141
runs:
42-
using: 'node20'
42+
using: 'node24'
4343
main: 'dist/setup/index.js'
4444
post: 'dist/cache-save/index.js'
4545
post-if: success()

0 commit comments

Comments
 (0)