CI Guides: Speed, Cost and Reliability
Longer reads on CI speed, cost and reliability, with working YAML.
- Speed Up a TypeScript Monorepo in GitHub ActionsSpeed up type checking and linting in a TypeScript monorepo on GitHub Actions: incremental tsc, project references, lint caches and parallel jobs.
- Speed Up Playwright in a Monorepo on GitHub ActionsSpeed up Playwright e2e tests in a Node monorepo on GitHub Actions: build the app once, skip e2e when the web app did not change, shard and merge reports.
- Add a CI Speed Badge to Your READMEShow how fast your CI is with a README badge: the median GitHub Actions run time for your repository, updated automatically. Free for public repos.
- Best GitHub Actions Runner Providers 2026The best GitHub Actions runner providers, ranked by use case: price, macOS, Docker builds, ARM, AWS, flat pricing. Public prices checked 22 Oct 2026.
- Cache Cargo and Rust Builds in GitHub ActionsCache the Cargo registry, git dependencies and target directory in GitHub Actions with Swatinem/rust-cache or actions/cache, and avoid bloated caches.
- Cache Go Modules and Build Cache in GitHub ActionsCache Go modules (GOMODCACHE) and the build cache (GOCACHE) in GitHub Actions with setup-go or actions/cache. Keys, go.sum, and verifying hits.
- Cache Gradle Builds in GitHub ActionsCache Gradle dependencies and build cache in GitHub Actions with gradle/actions/setup-gradle or actions/cache. Keys, read-only PRs, cleanup and checks.
- Cache npm Dependencies in GitHub ActionsCache npm dependencies in GitHub Actions with setup-node or actions/cache. Working YAML, the right key, why not node_modules, and how to confirm a hit.
- Cache pip Dependencies in GitHub ActionsCache pip in GitHub Actions with setup-python or actions/cache, plus the faster uv option. Keys, what not to cache, and how to verify a hit.
- Cache pnpm Dependencies in GitHub ActionsCache the pnpm store in GitHub Actions with pnpm/action-setup, setup-node or actions/cache. Store path, keys, workspaces and how to verify hits.
- Cache Poetry Dependencies in GitHub ActionsCache Poetry in GitHub Actions with setup-python or actions/cache. In-project virtualenvs, keys on poetry.lock and Python version, and verifying hits.
- Cache Yarn Dependencies in GitHub ActionsCache Yarn Classic and Yarn Berry in GitHub Actions. setup-node cache, explicit actions/cache paths, immutable installs, and how to verify a hit.
- Docker Build Slow in CI? Find the Cause and Fix ItDocker build slow in CI? Diagnose build context size, .dockerignore, layer order, cache misses and BuildKit settings, then fix the biggest one first.
- Docker Buildx Cache in GitHub Actions: gha, registrySet up Docker buildx caching in GitHub Actions. type=gha with scope and mode=max, registry, inline and local backends, plus why cache mounts get lost.
- Fastest CI for Bazel Monorepos on GitHub ActionsFast Bazel CI on GitHub Actions. Target determination for affected builds, remote cache flags, read-only PR uploads, sharding and a complete workflow.
- Fastest CI for Nx Monorepos on GitHub ActionsMake Nx CI fast on GitHub Actions. nx affected with nx-set-shas, Nx remote cache, task distribution, fetch-depth and a complete workflow.
- Fastest CI for pnpm Workspaces on GitHub ActionsFast CI for pnpm workspaces on GitHub Actions. Changed-package filters, store caching, fetch-depth, matrix sharding and a full workflow you can copy.
- Fastest CI for Turborepo Monorepos on GitHub ActionsSpeed up Turborepo CI on GitHub Actions. --filter for changed packages, remote cache with TURBO_TOKEN, fetch-depth, sharding and a complete workflow.
- Migrate CircleCI to GitHub Actions: Step by StepMigrate CircleCI to GitHub Actions with a concept mapping table, side-by-side config translation, secrets, caching, the Importer and a cutover plan.
- Migrate GitLab CI to GitHub Actions: Step by StepMigrate GitLab CI to GitHub Actions with a .gitlab-ci.yml mapping table, side-by-side translation, variables, cache, services, Importer and cutover.
- Migrate Jenkins to GitHub Actions: Step by StepMigrate Jenkins to GitHub Actions with a Jenkinsfile mapping table, side-by-side translation, credentials, caching, agents, Importer and a cutover plan.
- Speed Up .NET in GitHub ActionsSpeed up .NET builds in GitHub Actions: NuGet caching with setup-dotnet, --no-restore, --no-build, parallel dotnet test, and SQL Server services.
- Speed Up Bazel in GitHub ActionsSpeed up Bazel in GitHub Actions with setup-bazel, a disk cache, repository cache, a remote cache, and the right --jobs setting. Working YAML.
- Speed Up Django in GitHub ActionsSpeed up Django tests in GitHub Actions with pip or uv caching, pytest-xdist, --reuse-db, a Postgres service, and test splitting. Working YAML.
- Speed Up Elixir in GitHub ActionsSpeed up Elixir and Phoenix CI in GitHub Actions: deps and _build cache keyed on mix.lock and OTP, mix test --partitions, Postgres service, Dialyzer PLT.
- Speed Up Flutter in GitHub ActionsSpeed up Flutter CI in GitHub Actions: flutter-action SDK and pub cache, parallel tests, and splitting Android and iOS builds across runners.
- Speed Up Go in GitHub ActionsSpeed up Go CI in GitHub Actions: setup-go module and build cache, go test -p and -parallel, the cost of -race, and golangci-lint caching.
- Speed Up Gradle in GitHub ActionsSpeed up Gradle builds in GitHub Actions with setup-gradle, the build cache, configuration cache, parallel execution and test forks. Working YAML.
- Speed Up Laravel in GitHub ActionsSpeed up Laravel CI in GitHub Actions: Composer cache, Pest or PHPUnit --parallel, a tuned MySQL service, and Vite builds. Working YAML to copy.
- Speed Up Maven in GitHub ActionsSpeed up Maven builds in GitHub Actions: cache ~/.m2 with setup-java, parallel builds with -T 1C, Surefire forkCount, and skipping duplicate work.
- Speed Up Next.js in GitHub ActionsSpeed up Next.js builds in GitHub Actions with .next/cache, package manager caching, split lint and test jobs, and Playwright sharding. Working YAML.
- Speed Up Rails in GitHub ActionsSpeed up Rails CI in GitHub Actions: gem caching, bootsnap, Postgres and Redis services, parallel_tests splitting, and assets. Working YAML.
- Speed Up React Native in GitHub ActionsSpeed up React Native CI in GitHub Actions: Gradle, CocoaPods and Metro caching, JS checks on Linux, and keeping macOS minutes to a minimum.
- Speed Up Rust Cargo in GitHub ActionsSpeed up Rust Cargo builds in GitHub Actions with Swatinem/rust-cache, sccache, cargo-nextest, CARGO_INCREMENTAL=0 and a faster linker. YAML inside.
- Speed Up Unity in GitHub ActionsSpeed up Unity builds in GitHub Actions with GameCI: Library folder caching, license activation, Git LFS handling, and one job per platform.
- Blacksmith vs GitHub Actions: A Fair ComparisonBlacksmith vs GitHub Actions: what Blacksmith is, how its pricing compares with GitHub-hosted runners, and when each is the better fit for your CI.
- Cypress Tests Slow? How to Speed Up CypressCypress tests slow in CI? How to speed up Cypress with cy.session, intercepts and no fixed waits, plus Cypress parallel tests in GitHub Actions.
- Faster GitHub Actions Runners 2026: Options and PricesFaster GitHub Actions runners in 2026: larger runners, self-hosted, Blacksmith, Depot, WarpBuild, Namespace and compiler.dev, with dated per-minute prices.
- Flaky E2E Tests: Causes and Fixes That LastFlaky e2e tests and flaky end-to-end tests: fix bad waits, test isolation and shared database state, then use retries and quarantine without hiding bugs.
- GitHub Actions Alternatives in 2026: Free and Self-HostedGitHub Actions alternatives in 2026, free and self-hosted: GitLab CI, CircleCI, Buildkite, Jenkins, Woodpecker, and why teams change runners instead.
- GitHub Actions Cache Limit, Size and EvictionGitHub Actions cache limit and size explained: the 10 GB cap, eviction, why caching is slow, plus pnpm, Docker images and cache v4 specifics.
- GitHub Actions Pricing Explained: Cost per MinuteGitHub Actions cost per minute, for private repos and the free tier, plus cache pricing. Runner rates, free minutes, multipliers and a worked example.
- GitHub Actions Time Limit: 6 Hours per Job, 35 Days (2026)GitHub Actions time limits in 2026: 6 hours per job, 35 days per workflow run. How to set timeout-minutes and how to delay a job, step or workflow.
- Jest Slow? Speed Up Jest Tests: Workers and --shardJest tests slow? Speed them up with a faster TypeScript transform, the right worker count and --shard in CI. Find the slowest tests first. With config.
- Playwright Tests Slow in CI? Fix With Workers, ShardingPlaywright tests slow in CI? Speed them up with more workers, reused storageState, cached browsers and --shard test sharding. Python included.
- Pytest Slow Tests: Find, Mark, Skip and Speed Up (xdist)Pytest slow tests: find them with --durations, mark and skip them by default, then speed up with pytest-xdist and by splitting the suite across CI jobs.
- Slow CI? How to Reduce CI Pipeline TimeSlow CI pipeline? Measure where CI build time goes, then cut it with caching, sharding, path filters and faster runners. A map of every fix.
- Slow E2E Tests: Why They Drag and How to Fix ThemSlow e2e tests and slow integration tests usually come from setup, fixed waits and serial runs. How to find the cause and speed up slow tests in CI.
- Unit Tests vs E2E Tests: Speed, Cost and the PyramidUnit tests vs e2e tests: what each catches, how they differ in speed, cost and flakiness, and how a test pyramid keeps CI fast. With a worked CI example.
- Vitest Slow in CI? Fix Startup, Imports and PoolsVitest slow in CI or slow on startup? Profile phases, fix slow imports, tune the pool and isolation, find slow tests and shard with --shard.
- Why Is GitHub Actions Slow? Causes and FixesGitHub Actions slow or running slow today? Check githubstatus.com, then separate queue time, small 2-core runners, cold caches and slow downloads.
- Caching in GitHub Actions: Keys, Limits, ExamplesHow actions/cache, setup-* caching and restore-keys work, with copy-ready YAML, cache scope and size limits, and the mistakes that cause misses.
- CODEOWNERS and Branch Protection Best PracticesWrite a CODEOWNERS file that works, require code owner review, and set branch protection or rulesets for reviews, checks and signed history.
- Cron Schedules in GitHub Actions: UTC, Delays, PitfallsWrite GitHub Actions schedule triggers correctly: POSIX cron syntax, UTC only, delays at busy times, 60-day inactivity disabling and default-branch rules.
- Dependabot Setup That Doesn't Drown Your TeamConfigure dependabot.yml with grouping, schedules, cooldown, ignore rules and auto-merge so updates arrive in a few useful PRs instead of dozens.
- Docker Layer Caching in CI With BuildxMake Docker builds in GitHub Actions fast with buildx cache-from and cache-to, the gha and registry backends, and a Dockerfile ordered for cache hits.
- DORA Metrics: What to Measure and HowThe DORA software delivery metrics defined, how to compute each from GitHub data, what the 2024 research says, and how to avoid gaming and misuse.
- Estimating and Forecasting CI Costs for a Growing TeamA simple model to forecast GitHub Actions minutes and spend as your team grows: runs per developer, minutes per run, OS multipliers, rounding and budgets.
- GitHub Actions Matrix Builds Done RightUse strategy.matrix with include, exclude, fail-fast and max-parallel, keep the job count and bill in check, and wire up required checks correctly.
- GitHub Actions OIDC to AWS: No Long-Lived KeysSet up OpenID Connect between GitHub Actions and AWS: the identity provider, a locked-down IAM trust policy, workflow YAML and common errors.
- GitHub Merge Queue: Setup, Workflows and PitfallsHow GitHub merge queues work, how to enable them, the merge_group trigger your workflows need, group size settings, and what they do to CI cost.
- How to Find, Fix and Contain Flaky Tests in CIA practical plan for flaky tests: measure the flake rate, rerun to detect, quarantine safely, fix the usual causes, and keep retries from hiding bugs.
- How to Reduce Your GitHub Actions BillWhere GitHub Actions money goes and 10 ways to cut it: rounding, OS multipliers, concurrency, timeouts, artifacts, matrices and runner choice.
- How to Speed Up GitHub Actions WorkflowsFind where your GitHub Actions minutes go, then cut them with caching, concurrency, path filters, sharding and a bigger runner. With YAML you can copy.
- macOS Runners for iOS CI: Costs and Speed-UpsWhat macOS runners cost on GitHub Actions, why they burn your free minutes 10 times faster, and how to cut iOS CI time and spend.
- Monorepo CI With Nx or Turborepo: Affected BuildsRun only what changed in a monorepo on GitHub Actions. Nx affected, Turborepo filters, remote caching, path filters and the checkout settings that matter.
- Securing GitHub Actions: A Hardening ChecklistHarden GitHub Actions workflows: least-privilege GITHUB_TOKEN permissions, pinning actions by SHA, pull_request_target, script injection and secrets.
- Self-Hosted vs GitHub-Hosted Runners: Cost and RiskCompare GitHub-hosted, self-hosted and third-party runners on cost, speed, security and upkeep, with a break-even formula and a safe ephemeral setup.
- Speed Up Xcode Builds in CIFaster xcodebuild runs on GitHub Actions: SPM and CocoaPods caching, build-for-testing, simulator setup, and what to leave out of DerivedData caches.
- Test Sharding: Meaning, Jest, Gradle, Bazel and MoreTest sharding explained: what it means and how to shard Jest, Playwright, Vitest, Gradle, Bazel, Flutter, dotnet and Android tests in GitHub Actions.
- Using Spot Instances for CI Runners on AWSRun self-hosted CI runners on EC2 Spot to cut compute cost: interruption handling, instance diversification, ephemeral runners, retries and savings math.