01 / Runners
GitHub Actions jobs on fresh, fast machines
Change one line, runs-on: bareci-4, and each job runs on its own fresh machine, built from your repository's image, with dependencies and browsers already installed. Pools keep machines hot when you want pickup in about a second, and a hard cap means a bug can never run up the bill.
jobs:
test:
runs-on: bareci-4 # 4 vCPU; also 2, 8, 16 and -arm
steps:
- uses: actions/checkout@v5
- run: bun test How it works
Three tiers of capacity
Hot machines already have an idle runner online, so GitHub hands them a job in about a second. Warm machines are stopped and start in about 15 seconds. Cold machines launch on demand in under a minute. Hot targets follow a schedule, so idle cost stays small.
One machine, one job
Every job gets a fresh machine that is destroyed when the job ends. Machines have no cloud credentials, no SSH and no inbound network, and their single-use boot token is spent before the job starts.
Your image, baked nightly
Each repository's image is baked from its own .bareci/image.sh on a shared base with the Actions runner, Docker, Bun and Node. Machines with local NVMe put the work directory and Docker on it.
A cap that holds
Spend is counted per machine-second. At the cap, launches stop and jobs fall back to the runner label you chose, so CI keeps working instead of failing.
At a glance
| Hot pickup | About 1 s |
|---|---|
| Warm pickup | About 15 s |
| Cold pickup | Under a minute |
| Sizes | 2, 4, 8 and 16 vCPU, x86 or Arm |
| Isolation | One fresh machine per job, destroyed after |
Questions
Do I need to change my workflows?
Only the runs-on: label. bareci init rewrites the labels for you, with a fallback variable so jobs can return to another runner label at any time.
What happens when a job waits too long or a cloud call fails?
If jobs wait more than five minutes or cloud calls keep failing, BareCI switches the repository's runner variable to its fallback label and alerts, so CI keeps running elsewhere.
Are spot machines used?
Cold machines try spot first and fall back to on-demand. If a spot machine is interrupted, its failed jobs are re-run once on on-demand capacity. Deploy jobs always use on-demand machines.