File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,13 +16,17 @@ jobs:
1616 - name : Checkout repository
1717 uses : actions/checkout@v4
1818
19- - name : Setup Nix
20- uses : cachix/install-nix-action@v31
19+ - uses : nixbuild/nix-quick-install-action@v30
20+ with :
21+ nix_conf : |
22+ keep-env-derivations = true
23+ keep-outputs = true
2124
2225 - name : Restore and save Nix store
2326 uses : nix-community/cache-nix-action@v6
2427 with :
2528 primary-key : nix-${{ runner.os }}-${{ hashFiles('**/*.nix', '**/flake.lock') }}
29+ gc-max-store-size-linux : 1G
2630
2731 - name : Prepare dev shell
2832 run : nix build .#devShells.x86_64-linux.default
@@ -54,13 +58,17 @@ jobs:
5458 - name : Checkout repository
5559 uses : actions/checkout@v4
5660
57- - name : Setup Nix
58- uses : cachix/install-nix-action@v31
61+ - uses : nixbuild/nix-quick-install-action@v30
62+ with :
63+ nix_conf : |
64+ keep-env-derivations = true
65+ keep-outputs = true
5966
6067 - name : Restore and save Nix store
6168 uses : nix-community/cache-nix-action@v6
6269 with :
6370 primary-key : nix-${{ runner.os }}-${{ hashFiles('**/*.nix', '**/flake.lock') }}
71+ gc-max-store-size-linux : 1G
6472
6573 - name : Build Docker image
6674 run : nix build .#docker
You can’t perform that action at this time.
0 commit comments