-
Notifications
You must be signed in to change notification settings - Fork 204
Closed
Labels
re: CIConcerning continuous integration (CI)Concerning continuous integration (CI)re: nixConcerning Nix stuffConcerning Nix stuff
Description
@peterbecich You added a Nix CI:
hackage-server/.github/workflows/nix-shell.yml
Lines 16 to 18 in 2d4f3f7
- uses: cachix/install-nix-action@v16 | |
with: | |
nix_path: nixpkgs=channel:nixos-21.11 |
Does this cache between builds?
If not, would caching be possible, maybe along the lines of:
https://github.com/cachix/install-nix-action#how-do-i-add-a-binary-cache
I am asking because the Nix workflow takes at least 17min each time, whereas Haskell CI can get down to <10min (probably thanks to caching).
(Haskell CI takes long when it cannot restore from the cache, see e.g.: https://github.com/haskell/hackage-server/runs/6437475007?check_suite_focus=true#step:16:23)
peterbecich and ulysses4ever
Metadata
Metadata
Assignees
Labels
re: CIConcerning continuous integration (CI)Concerning continuous integration (CI)re: nixConcerning Nix stuffConcerning Nix stuff