mirror of
https://github.com/nektos/act.git
synced 2026-04-26 09:25:54 +03:00
[GH-ISSUE #2445] Autoconfigure for running on Mac platform #1123
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#1123
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 @boxley-anaconda on GitHub (Sep 10, 2024).
Original GitHub issue: https://github.com/nektos/act/issues/2445
Act version
0.2.66
Feature description
I'd like easier "out of the box" experience for using
acton Macs.It took quite a bit of research & experimentation to arrive at:
Ideally act would see that it is running on Mac, and autoset these, perhaps with a friendly warning message, and maybe some config setting to make this permanent without a warning.
Similarly, the documentation might call this out more explicitly. I pieced it together from
gh actandgh act --container-architecture linux/amd64output, and research on the errors (the Internet has a lot of outdated/wrong examples to fall into).And this error message was very hard to interpret:
That's the literal message: it cuts off with "...".
In contrast, running on Ubuntu under WSL2 the user experience was ideal: it just worked.
I got real excited by
gh actfrom that, and started trying it with paid work on a MacBook to share the "dynamic duo" ofghandactwith my teammates.@ChristopherHX commented on GitHub (Sep 28, 2024):
Me as a maintainer of act and windows / linux user without a vision of nektos/act as a standalone cli tool, hope for more actionable items here to get part of my roadmap, see recently added backlog labels.
My backlog progress will stall if my PR's get stale during review and my concurrency limit for nektos/act has been hit
E.g. Suggestion to change an error message to some suggested message are much better.
Adding a link to a full docu site page on nektosact.com is possible as well
Technically
...this is the end of the message in the source code. Now you have the choice, to use a docker image, run directly on your mac/linux/windows etc.There would be this docu: https://nektosact.com/usage/runners.html, code here: https://github.com/nektos/act-docs
So what can we do to make this easier to interpret? I assume you found the expected resolution.
The long story, we received a lot of bug reports of people expecting a intel env on an arm device.
Those this is logged as a warning.
act can run just fine with the default natively on arm64, it's faster, more energy efficient. However different to the usually used ubuntu-latest VM.
Now what can be done that you can easier get act up and running for your usecase without pain?
gh act/actconditionally to the suggested cli switch?.actrcfile with the cli switches? This can make the cli to shrink to justgh act/actThe
-P self-hosted-main=portion is not possible to be auto configured, we don't know if you expect it to be linux/mac/(windows, a mac host can't do this without vm)Or do you expect a wizard like experience, that act ask you what you want when it doesn't know the label?