-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Avoid docker action, convert to javascript #5
Comments
Hi @t-botz ! We're open to the idea in general, but I'm wondering... How will the nodejs runtime have yor installed? I'm guessing you won't have golang installed (heavy and takes time). If you're installing yor from URL - would that be a lot faster than just pulling the image? I agree using docker images is slower than bash scripting, but from what I've seen pulling an image is just a few seconds (while building an image is A LOT slower...) - and querying and downloading yor could take just as much time. |
Yor would be installed by downloading the binary from github release. Its a very common pattern and the github action toolkit has a few helpers to make it. |
Sounds interesting! |
I'm still wondering how you'll handle the various OS and ARCH support though |
Docker actions have quite a few drawbacks:
The big benefit of docker actions are the ability to pack a whole environment and its dependencies. For yor it doesn't matter as its just a static binary.
I would be more than happy to submit a PR, I just want to check first if that's something the maintainers would be ok with.
Otherwise I will implement my own
setup-yor
action.The text was updated successfully, but these errors were encountered: