r/github • • 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

28 comments sorted by

15

u/AvidCoco 1h ago

The free alternative is don’t use it and run locally.

5

u/ZX_Caballito 1h ago

I've already implemented and used self-hosted runners. Running locally is not a new solution to me.

The issue is that executing multiple resource-intensive CI jobs on the same machine I'm actively developing on is not sustainable. It also doesn't provide reliable runner availability when my laptop is turned off.

-15

u/ZX_Caballito 1h ago

Read again buddy

5

u/MediumAsk5591 1h ago

What cant run on a laptop that you need runners for?

What about a raspberry pi running forgejo, would that would run what you need?

-2

u/ZX_Caballito 1h ago

It's a fairly large monorepo with a backend, web frontend, and native Android application. Our CI includes TypeScript compilation, Docker builds, integration tests involving PostgreSQL, Redis and other services, security checks, and Android instrumentation tests that require an emulator with hardware acceleration.

I've already configured and tested self-hosted runners on Windows through WSL2. The problem isn't knowing how to configure a runner; it's the available RAM, CPU resources, and the fact that I also need to use my laptop for development.

A Raspberry Pi might work for some lightweight jobs, but it wouldn't be a practical replacement for our entire CI infrastructure, particularly the Android emulator workloads.

That's why I'm specifically asking about cloud-hosted CI alternatives.

3

u/MediumAsk5591 1h ago

Im not sure there'll be anything free, could try a cheap VPS, costs maybe $5-$10 per month?

1

u/ZX_Caballito 1h ago

Yep, cloud server

1

u/MediumAsk5591 59m ago

Who did you go with

1

u/ZX_Caballito 52m ago

Donweb, my client base is set on argentina

3

u/nrmitchi 1h ago • Bravo

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).

0

u/ZX_Caballito 1h ago

Thanks, Im renting a cloud server

1

u/Forward-Outside-9911 52m ago

So why ask for alternatives?

1

u/ZX_Caballito 51m ago

Cause I thought maybe I'd find one. Clearly didn't

1

u/TerroFLys 1h ago

Get into self hosting shouldnt cost more than 18 eur

1

u/ZX_Caballito 1h ago

Which hosting provider and server configuration would you recommend for €18/month?

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/ZX_Caballito 1h ago

Yeah, I might rent a cloud server

1

u/SrMortron 44m ago

Teamcity if you install it locally.

0

u/ZX_Caballito 40m ago

Can't you read?

TeamCity won't work for my setup. The free tier is self-hosted, which means I'd have to run the build agents locally (and my laptop can't handle it) or pay for cloud infrastructure, and TeamCity Cloud isn't free.

Can't you comprehend basic English?

1

u/SrMortron 37m ago

I did read. But your requirements are very childish and unreasonable.

0

u/ZX_Caballito 36m ago

U r retarded

1

u/SrMortron 35m ago

And you're poor 😂

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/

0

u/ZX_Caballito 1h ago

Forgejo doesn't provide the underlying compute resources.

1

u/lajawi 52m ago

Forgejo Actions and Wodpecker are both very much integrated, you just need to setup runners.

1

u/lajawi 1h ago

Forgejo isn’t viable since you’d still need separate runners and they’re slightly different from GitHub runners.

2

u/Putrid-Tangerine-600 1h ago

I personally use it everyday when actions is down. I mirror my repos from GH and have the same secret setup, so it does work well. The issue is the compute power and whether you have enough to actually run your jobs. Runners and the code server can sit together on one box if the app is small. The laptop is out, but you might have a desktop, a roommates computer, many options.

-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