1
0
Fork 0
mirror of https://code.forgejo.org/forgejo/runner.git synced 2025-09-15 18:57:01 +00:00

[RDNF #21 updated] fix: make node tool non volatile (#2372) + added 'time import' (#168)

https://github.com/nektos/act/pull/2372

+ fix: make node tool non volatile
Currently downgrading node via setup-node can break later actions

+ fix it and lookup on startup

+ fix problems

Co-authored-by: ChristopherHX <christopher.homberger@web.de>
Reviewed-on: https://code.forgejo.org/forgejo/act/pulls/168
Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org>
Co-authored-by: Andrii Chyrva <andrii.s.chyrva@hotmail.com>
Co-committed-by: Andrii Chyrva <andrii.s.chyrva@hotmail.com>
This commit is contained in:
Andrii Chyrva 2025-07-06 16:56:42 +00:00 committed by earl-warren
parent 3fe4f4fb7f
commit 6e1377c2b0
9 changed files with 68 additions and 24 deletions

View file

@ -164,6 +164,7 @@ func TestActionRunner(t *testing.T) {
},
},
},
nodeToolFullPath: "node",
},
action: &model.Action{
Inputs: map[string]model.Input{
@ -208,6 +209,7 @@ func TestActionRunner(t *testing.T) {
"name": "state value",
},
},
nodeToolFullPath: "node",
},
action: &model.Action{
Runs: model.ActionRuns{