perf(ci): switch to nix-quick-install-action for faster CI#298
Merged
perf(ci): switch to nix-quick-install-action for faster CI#298
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR improves CI performance by switching from the cachix/install-nix-action to nixbuild/nix-quick-install-action, aiming to reduce Nix installation time from ~30-60s to ~1s on Linux runners.
Changes:
- Replaced
cachix/install-nix-action@v31.9.0withnixbuild/nix-quick-install-action@v30 - Removed the
github_access_tokeninput parameter that was previously passed to the Cachix action
Comments suppressed due to low confidence (1)
.github/actions/setup-nix/action.yaml:2
- The description mentions 'configure cache' but the action no longer configures any cache after switching to nix-quick-install-action. This should be updated to accurately reflect that the action only installs Nix and tools from nixpkgs.
description: 'Install Nix and configure cache'
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
commit: |
2586c01 to
6e008ac
Compare
Replace cachix/install-nix-action with nixbuild/nix-quick-install-action. This reduces Nix installation time from ~30s to ~1s on Linux. Key benefits: - Single-user installation (no daemon overhead) - Deterministic installation for a given action version - Minimal setup optimized for CI environments Measured improvement: Setup Nix step reduced from 25s to 19s (~24% faster)
6e008ac to
5f8b877
Compare
ryoppippi
added a commit
that referenced
this pull request
Jan 16, 2026
)" This reverts commit 6e82978.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
cachix/install-nix-actionwithnixbuild/nix-quick-install-actionKey differences
Test plan
Summary by cubic
Switch CI to nixbuild/nix-quick-install-action for faster, deterministic single-user Nix installs. Measured improvement: Nix setup ~24% faster (25s → 19s) on Linux.
Written for commit 5f8b877. Summary will update on new commits.