Skip to content

Commit 6e82978

Browse files
authored
perf(ci): switch to nix-quick-install-action for faster CI (#298)
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)
1 parent 93eabda commit 6e82978

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/actions/setup-nix/action.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,7 @@ runs:
1313
using: 'composite'
1414
steps:
1515
- name: Install Nix
16-
uses: cachix/install-nix-action@4e002c8ec80594ecd40e759629461e26c8abed15 # v31.9.0
17-
with:
18-
github_access_token: ${{ github.token }}
16+
uses: nixbuild/nix-quick-install-action@2c9db80fb984ceb1bcaa77cdda3fdf8cfba92035 # v34
1917

2018
- name: Install tools from nixpkgs
2119
shell: bash

0 commit comments

Comments
 (0)