Revert "perf(ci): switch to nix-quick-install-action for faster CI"#299
Revert "perf(ci): switch to nix-quick-install-action for faster CI"#299
Conversation
)" This reverts commit 6e82978.
There was a problem hiding this comment.
Pull request overview
This PR reverts a previous change that switched from cachix/install-nix-action to nixbuild/nix-quick-install-action for CI performance improvements. The revert restores the use of the Cachix action along with the github_access_token parameter.
Changes:
- Revert Nix installation action from
nixbuild/nix-quick-install-actionback tocachix/install-nix-action@v31.9.0 - Re-add
github_access_tokenparameter to the action configuration
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| uses: nixbuild/nix-quick-install-action@2c9db80fb984ceb1bcaa77cdda3fdf8cfba92035 # v34 | ||
| uses: cachix/install-nix-action@4e002c8ec80594ecd40e759629461e26c8abed15 # v31.9.0 | ||
| with: | ||
| github_access_token: ${{ github.token }} |
There was a problem hiding this comment.
The action expects inputs.github_token (an input parameter passed to this composite action), but the code uses github.token which is only available in workflow context, not in composite actions. This should be changed to accept a token input parameter and pass it through, or the line should use a different approach to access the token if composite actions support it in this version.
Reverts #298
Summary by cubic
Reverts the previous switch to nix-quick-install-action in CI to restore the prior Nix install flow.
Written for commit 203a571. Summary will update on new commits.