Have folks had good success with using this? For me it was extremely slow and it was far faster to just push a branch to github and test.
For me act works fairly well, though it isn't exactly the same as Github. Matrix builds didn't work properly (just noticed it has been fixed now), and the base images aren't quite the same.
Github should send a bunch of money to the act developer - I know I wouldn't have used Github actions at all without act existing, I'm sure other people must be in the same situation. (Though I'm not paying Github either, so perhaps I'm not a target customer...)
Re:GitHub Actions Pitfalls
by badloginagain on Monday September 26, 2022 @01:41PM
(#32985953)
Like many things, the more complex the workflow the more useful it becomes running it locally.
I've found it especially useful for fixing complex workflows or working with custom actions. It's not strictly needed, but it does speed up your workflow once you figure out the kinks.
And for gitlab pipelines:
Unfortunately, it only supports running single jobs. More complex tasks that requires dependencies, variables, job creation context (MR, Trigger, Web, etc.) can't be tested.
Then maybe this?
https://github.com/firecow/gitlab-ci-local
(I only tried it shortly many months ago before running into some issues, it probably works better now)
Re:GitHub Actions Pitfalls
by bastardoperator on Monday September 26, 2022 @12:55PM
(#32985431)
GitHub also has a tool that will covert Jenkins pipelines (and other tooling) to Actions called Valet.
Re:GitHub Actions Pitfalls
by 1980phipsi on Monday September 26, 2022 @08:59AM
(#32982553)
That's pretty cool. I could have used something like that for Microsoft's CI.
Re:GitHub Actions Pitfalls
by vinceguidry on Monday September 26, 2022 @03:31PM
(#32987231)
It should very much concern you that this is a third-party tool with zero support from GitHub. There is no first-party solution.
Ha, that's great, I am definitely trying it. Thank you.
Re:GitHub Actions Pitfalls
by More-nitors on Monday September 26, 2022 @01:35PM
(#32985886)
hm you can just run self-hosted github action runners for free...
https://github.com/nektos/act