mirror of
https://github.com/nektos/act.git
synced 2026-04-26 09:25:54 +03:00
[GH-ISSUE #910] Enhancement: node16 runner #539
Labels
No labels
area/action
area/cli
area/docs
area/image
area/runner
area/workflow
backlog
confirmed/not-planned
kind/bug
kind/discussion
kind/external
kind/feature-request
kind/question
meta/duplicate
meta/invalid
meta/need-more-info
meta/resolved
meta/wontfix
meta/workaround
needs-work
pull-request
review/not-planned
size/M
size/XL
size/XXL
stale
stale-exempt
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/act#539
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @beeequeue on GitHub (Dec 2, 2021).
Original GitHub issue: https://github.com/nektos/act/issues/910
Describe feature
The
node16has finally been addedhttps://github.com/actions/runner/releases/tag/v2.285.0
https://github.com/actions/runner/issues/772
https://github.com/actions/runner/pull/1439
Currently I get this error when trying to run (after changing the image used to
node:16-buster-slim):Error: The runs.using key in action.yml must be one of: [composite docker node12], got node16@catthehacker commented on GitHub (Dec 2, 2021):
node16is not available on whole GHA yet@beeequeue commented on GitHub (Dec 2, 2021):
Then we can wait until it is 😄
@catthehacker commented on GitHub (Dec 2, 2021):
I've already added
node16to theactrewrite that has been discussed on our Gitter if anyone wants to testnode16https://github.com/catthehacker/act-fork/tree/cat/wip%2Factionlint
TODO tasks for
act:node16to supported actionsmediumimagemicroimage to Node 16.x as GHA runners switch to it as well (https://github.com/actions/virtual-environments/issues/4446)actto use Node 16/12 fornode16/node12respectively,microimage will have to run with single version@josecelano commented on GitHub (Jan 20, 2022):
Hi, I'm getting that error:
I'm running act with:
I have created this sample repo to reproduce the error.
Is this already working @catthehacker? I see there are two pending tasks above but the PR was merged.
@catthehacker commented on GitHub (Jan 20, 2022):
It is, but most likely you are using v0.2.25 which doesn't have that change
@NickLiffen commented on GitHub (Jan 31, 2022):
👋 @catthehacker any thought on when:
Is going to be completed. I am using the medium image and node16 but getting this error, it would be great if this was supported 💯 ❤️
I ensured I was using the latest and greatest
act@beeequeue commented on GitHub (Jan 31, 2022):
Installing the latest master build with
go install github.com/nektos/act@masterworks for me, I can run my actions withusing: node16@NickLiffen commented on GitHub (Jan 31, 2022):
Really 🤔
This is how I am installing it.
E.G
I re-build my environment every night to pull the latest and greatest.
I don't have
goinstalled (and don't really want to install go just for the sake of pulling this down).I just double-checked and it doesn't work for me. 🤔 (Something Codespaces is meant to solve haha)
You are welcome to pull my codespace and test it out, but it isn't working for me 👀
@beeequeue commented on GitHub (Jan 31, 2022):
From what I can tell from reading the install script it downloads binaries from the releases, but the changes have not been released yet, hence having to install from master
For me personally installing go just to build tools from source code has been worth it instead of downloading binaries and setting that up, despite not actually developing anything in go. But if you're using codespaces I can see why that would be less desirable
@NickLiffen commented on GitHub (Jan 31, 2022):
100%! If I was on my local machine I would so install Go and get this done, but it's more overhead on my system having to install Go when it actually isn't needed. Local machine 100% I would install from Go, but as no other Go is indeed I would rather not if possible ❤️
Ah okay this explains it 😄 Do we know when the changes may get released? 👀
@catthehacker commented on GitHub (Jan 31, 2022):
You can get latest build from https://github.com/nektos/act/actions/runs/1773288141
@NickLiffen commented on GitHub (Feb 1, 2022):
Hey @catthehacker, correct, but that doesn't work with this script.
https://github.com/nektos/act/blob/master/install.sh
It would be great if it could be generally available :)
@BorzdeG commented on GitHub (Feb 4, 2022):
@catthehacker This is the latest version available through homebrew and is listed as release in the repository.
@catthehacker commented on GitHub (Feb 4, 2022):
That is correct, though I don't understand what's your point?
Not everything in
masterbranch is released instantly as a new versionWe even have instructions added about how to install latest commit with homebrew
https://github.com/nektos/act#homebrew-linuxmacos
@BorzdeG commented on GitHub (Feb 4, 2022):
You wrote that in version 0.2.25 there is no node16 support yet. What version is it in?
Act latest release - 0.2.25 : https://github.com/nektos/act/releases/latest
Here is the brew output:
@catthehacker commented on GitHub (Feb 4, 2022):
None, there is no version released yet with that change
@BorzdeG commented on GitHub (Feb 4, 2022):
And when is the release planned?
@calvinchengx commented on GitHub (Mar 5, 2022):
@BorzdeG
use
brew install act --HEAD@catthehacker commented on GitHub (Mar 22, 2022):
https://github.com/nektos/act/releases/tag/v0.2.26