Skip to content

Commit e8feee9

Browse files
authored
ci: always run cachix on master push (#14)
## Summary - Drops the `paths:` filter on `.github/workflows/cachix.yaml` so every push to `master` builds and pushes a binary to the abizer cachix cache. - The Nix derivation pins `version = self.shortRev` and `src = self`, so every commit on master produces a fresh store-path hash — including the ones the previous filter skipped (release workflows, brew bottle updates, README/doc-only changes). - That mismatch is what just stranded master at 6deeb98 with cachix still pointing at bfa3180; flake users were left building from source. ## Why drop the filter instead of widening it - Cachix builds finish in ~2m per system, and the matrix is just `x86_64-linux` + `aarch64-darwin`. - Maintaining a list of "things that go into the derivation" means tracking flake.nix inputs forever; one easier rule wins over a clever one that keeps drifting. ## Test plan - [ ] After merge, confirm the cachix run for the merge commit completes and the new short-rev store path is fetchable from `abizer.cachix.org`. - [ ] `nix build .#packages.aarch64-darwin.default` on the new rev should be a pure cache fetch (no local compile). 🤖 Generated with [Claude Code](https://claude.com/claude-code) <!-- CURSOR_SUMMARY --> --- > [!NOTE] > **Low Risk** > Low risk: this only changes GitHub Actions trigger conditions, but it may increase CI workload/cost by running on every `master` push. > > **Overview** > Removes the `paths:` filter from `.github/workflows/cachix.yaml` so the Cachix build runs on **every** push to `master` (and via manual dispatch), rather than only when certain files change. > > This ensures the Nix build is executed and pushed to cache for all commits, including doc-only or release-related changes that previously skipped the workflow. > > <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit 504eca8. Bugbot is set up for automated code reviews on this repo. Configure [here](https://www.cursor.com/dashboard/bugbot).</sup> <!-- /CURSOR_SUMMARY -->
1 parent 6deeb98 commit e8feee9

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

.github/workflows/cachix.yaml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,6 @@ name: cachix
33
on:
44
push:
55
branches: [master]
6-
paths:
7-
- "cmd/nssh/**"
8-
- "internal/**"
9-
- ".github/workflows/cachix.yaml"
10-
- "go.*"
11-
- "flake.*"
126
workflow_dispatch:
137

148
jobs:

0 commit comments

Comments
 (0)