Commit 6c38298
authored
ci(nix): add Nix store caching to setup-nix action (#268)
* ci(nix): add Nix store caching to setup-nix action
Add nix-community/cache-nix-action to cache the Nix store between CI
runs. This speeds up subsequent builds by avoiding redundant downloads
and builds of Nix dependencies.
The cache key is based on the runner OS (e.g. nix-Linux, nix-macOS).
* ci(nix): replace cachix with cache-nix-action
Remove cachix-action in favour of nix-community/cache-nix-action for
caching the Nix store. Also update install-nix-action to v31.9.0.
This simplifies the caching setup and aligns with stackone-ai-python.1 parent e7617aa commit 6c38298
1 file changed
+5
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | | - | |
| 11 | + | |
| 12 | + | |
13 | 13 | | |
14 | | - | |
15 | | - | |
| 14 | + | |
16 | 15 | | |
17 | 16 | | |
18 | 17 | | |
| |||
0 commit comments