ci: adopt rainix nix-cachix-setup composite, drop deprecated DeterminateSystems nix installer - #8
Conversation
…ateSystems nix installer Replaces the deprecated `DeterminateSystems/nix-installer-action@main` and `DeterminateSystems/magic-nix-cache-action@main` steps with the org-standard shared composite `rainlanguage/rainix/.github/actions/nix-cachix-setup@main` (nix-quick-install + Cachix + cache-nix-action, third-party actions SHA-pinned in one place; also drops the floating `@main` installer pin). `checkout: 'false'` keeps the existing submodules-recursive/fetch-depth:0 checkout the sol prelude and tests need. Closes #7 Co-Authored-By: Claude <noreply@anthropic.com>
|
Warning Review limit reached
Next review available in: 57 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (1)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
🤖 ai:vetter |
|
Reviewed 71a6996: correct — swaps deprecated |
Closes #7
What
Replace the two deprecated DeterminateSystems CI steps in
.github/workflows/rainix.yamlwith the org-standard shared composite:DeterminateSystems/nix-installer-action@main→ gone (also removes a floating@mainpin — the supply-chain/reproducibility risk the issue flags)DeterminateSystems/magic-nix-cache-action@main→ gonerainlanguage/rainix/.github/actions/nix-cachix-setup@main(nix-quick-install + Cachix substituter +cache-nix-actionstore restore/save, every third-party action SHA-pinned in one place).checkout: 'false'is passed because this job needs the existingactions/checkout@v4withsubmodules: recursive+fetch-depth: 0(the sol prelude and tests need submodules), which the composite's bundled default checkout would not replicate. The composite runs after the repo's own checkout.This is the Preferred fix the issue calls for and retires a second deprecated DeterminateSystems action (
magic-nix-cache) in the same change.QA evidence (QA-GUIDE §8)
rainix.yamlrunson: [push], so pushing this branch triggers the sol matrix —rainix-sol-test,rainix-sol-static— each run vianix develop -c …. If the installer/cache swap failed to providenix, everynix developstep fails; a green matrix is direct end-to-end proof the swap works. Fails closed.mainis green on both matrix tasks with the old DeterminateSystems steps; this PR re-runs the identical task set with only the nix-setup steps changed.action.ymlinputs (checkout,cachix-auth-token);checkout: 'false'matches the composite'sinputs.checkout == 'true'gate. YAML validated (yqparse).