Skip to content

Commit bbcc0f4

Browse files
authored
feat!: move to v4.0.0, Node.js 24.x (#304)
* feat!: move to v4.0.0, Node.js 24.x * chore: update dist
1 parent 9759d4a commit bbcc0f4

File tree

7 files changed

+73
-120
lines changed

7 files changed

+73
-120
lines changed

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20
1+
24

DEVELOPMENT.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@ This guide is meant for people wishing to contribute to this open-source project
22

33
## Prerequisites
44

5-
### Node.js v20
5+
### Node.js v24
66

7-
Since this is a JavaScript action, you will need Node.js v20.x. If you do not have it installed, you can install it in [a variety of ways](https://nodejs.org/en/download).
7+
Since this is a JavaScript action, you will need Node.js v24.x.
8+
If you do not have it installed, you can install it in [a variety of ways](https://nodejs.org/en/download).
89

910
## Development
1011

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ inputs:
2121
description: Cache key used when using a non-cargo tool
2222
default: rs-cargo
2323
runs:
24-
using: 'node20'
24+
using: 'node24'
2525
main: 'dist/index.js'
2626
branding:
2727
icon: package

dist/index.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

Lines changed: 61 additions & 109 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "rs-cargo",
3-
"version": "3.0.6",
3+
"version": "4.0.0",
44
"private": false,
55
"description": "Run cargo command",
66
"main": "dist/index.js",
@@ -31,10 +31,10 @@
3131
"url": "https://github.com/clechasseur/rs-cargo/issues"
3232
},
3333
"engines": {
34-
"node": ">=20.0.0"
34+
"node": ">=24.0.0"
3535
},
3636
"dependencies": {
37-
"@clechasseur/rs-actions-core": "^5.0.5",
37+
"@clechasseur/rs-actions-core": "^6.0.0",
3838
"string-argv": "^0.3.2"
3939
},
4040
"devDependencies": {

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"resolveJsonModule": true,
2222
"strict": true,
2323
"suppressImplicitAnyIndexErrors": false,
24-
"target": "es2018",
24+
"target": "es2023",
2525
"declaration": false,
2626
"sourceMap": false
2727
},

0 commit comments

Comments
 (0)