Skip to content

add cache#19

Merged
iurimatias merged 2 commits intoflake_updatefrom
update_ci
Mar 20, 2026
Merged

add cache#19
iurimatias merged 2 commits intoflake_updatefrom
update_ci

Conversation

@iurimatias
Copy link
Member

@iurimatias iurimatias commented Mar 20, 2026

No description provided.

Copilot AI review requested due to automatic review settings March 20, 2026 18:18
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the GitHub Actions CI workflow to use Cachix-based Nix installation and binary caching, aiming to speed up Nix builds in PR CI runs.

Changes:

  • Switch Nix installer action to cachix/install-nix-action@v27 and explicitly enable flakes via extra_nix_config.
  • Replace Determinate Systems cache action with cachix/cachix-action@v15 configured for the logos-co cache.

uses: cachix/cachix-action@v15
with:
name: logos-co
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
Copy link

Copilot AI Mar 20, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cachix/cachix-action will enable pushing to the Cachix cache when authToken is provided. Since this workflow runs on pull_request, PR builds would upload outputs from unreviewed code and can also fail on forked PRs where secrets.CACHIX_AUTH_TOKEN is unavailable. Consider omitting authToken for PRs (pull-only cache) and only enabling it for trusted events (e.g., push to master or non-fork PRs via an if: guard).

Suggested change
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'

Copilot uses AI. Check for mistakes.
@iurimatias iurimatias changed the base branch from master to flake_update March 20, 2026 18:34
@iurimatias iurimatias merged commit 41e4a98 into flake_update Mar 20, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants