Skip to content

Commit e7da888

Browse files
committed
ci(nix): switch to nix-quick-install-action for faster setup
- Replace cachix/install-nix-action with nixbuild/nix-quick-install-action - Expected speedup: ~3 seconds per job (1s vs 4s for Nix installation) - Remove github_access_token input (not needed for nix-quick-install-action)
1 parent b10c164 commit e7da888

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

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

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: "Setup Nix"
2-
description: "Install Nix and configure cache"
2+
description: "Install Nix"
33
inputs:
44
tools:
55
description: 'Space-separated list of nixpkgs packages to install (e.g., "uv ty just")'
@@ -13,9 +13,7 @@ runs:
1313
using: "composite"
1414
steps:
1515
- name: Install Nix
16-
uses: cachix/install-nix-action@0b0e072294b088b73964f1d72dfdac0951439dbd # v31.8.4
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)