Skip to content

feat: reusable GitHub Actions for Nix cache setup and push#17

Merged
principle-lgtm merged 1 commit into
developfrom
feat/reusable-cache-action
Feb 25, 2026
Merged

feat: reusable GitHub Actions for Nix cache setup and push#17
principle-lgtm merged 1 commit into
developfrom
feat/reusable-cache-action

Conversation

@principle-lgtm
Copy link
Copy Markdown
Contributor

Summary

  • Add .github/actions/setup — composite action: install Nix, configure substituter + trusted keys, set up auth for push
  • Add .github/actions/push — composite action: sign and upload store paths or flake refs
  • Update README with usage examples for consuming repos

Usage

- uses: stevedores-org/nix-cache/.github/actions/setup@develop
  with:
    push: true
    cache-auth-token: ${{ secrets.CACHE_AUTH_TOKEN }}
    signing-secret-key: ${{ secrets.NIX_SIGNING_SECRET_KEY }}
- run: nix build
- uses: stevedores-org/nix-cache/.github/actions/push@develop
  with:
    paths: .#default

Test plan

  • CI passes on this PR
  • Action YAML is valid (checked via actionlint or manual review)

Closes #6

🤖 Generated with Claude Code

- .github/actions/setup: Install Nix, configure substituter and
  trusted public keys, optionally set up signing key and auth for push
- .github/actions/push: Sign and upload store paths or flake refs
  to nix-cache.stevedores.org
- Update README with usage examples and inputs table

Closes #6

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@cloudflare-workers-and-pages
Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
nix-cache 2e14594 Commit Preview URL

Branch Preview URL
Feb 25 2026, 11:27 PM

@principle-lgtm principle-lgtm merged commit 1c66ceb into develop Feb 25, 2026
3 checks passed
@principle-lgtm principle-lgtm deleted the feat/reusable-cache-action branch February 26, 2026 02:23
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.

1 participant