r/github • u/ZX_Caballito • 1h ago
Question Github Actions free alternative
I'm working on a project with a private repo. I got $18 in free usage for GitHub Actions, but that lasts me 3 days max. Is there any free alternative to this? I can't set up a local runner due to my laptop's lack of resources, and I also can't make the repo public.
0
Upvotes
15
u/AvidCoco 1h ago
The free alternative is don’t use it and run locally.
3
u/nrmitchi 1h ago •
You’re unlikely to find any actually-free option for what you want. So the question really becomes “what is your budget” (either in time, or effort).
If you can swing a small budget, runson/blacksmith/any-recent-yc-ci-co will be significantly better (and cheaper) than GHA.
If your monetary budget is actually 0, you need to put in effort to do less ci work. Cache better. Limit jobs based on what actually changes. Maybe stop CI entirely, depend on local pre-commit hooks, and run GitHub actions only on main on a schedule. Look at your tests and delete ones that are not useful. This takes effort, and it’s up to you how it compares to $.
Some tools (including Blacksmith) have their own free tiers. You might be able to juggle free tiers by updating your job targeting when one runs out, but that is frustrating (and is also effort).
1
u/TerroFLys 1h ago
Get into self hosting shouldnt cost more than 18 eur
1
u/the_trve 1h ago
My public projects rack up smth like $2500 worth of free CI usage on Github actions per month. Of course, self-hosted dedicated machine would be cheaper, but it's still a massive amount of free compute. Your volume is much smaller and I think you could get by with hosting a CI runner on a VPS or even a temporary cloud machine. Or make the repo public only while running CI :)
1
u/SrMortron 44m ago
Teamcity if you install it locally.
1
u/Putrid-Tangerine-600 1h ago
Actions is free if your app is public. If not you can self host it with https://forgejo.org/
-6
u/vr6wannabe 1h ago
Here's a cool trick, use your GH free minutes every month then you can auto flip over to our free minutes when those run out. At the start of the month it just switches over.
Also our paid is WAY cheaper and faster than GH
https://groundbox.dev/docs/ci/groundbox-first