Skip to content

Commit de3b764

Browse files
committed
set max store size
1 parent 555d4ba commit de3b764

File tree

3 files changed

+11
-13
lines changed

3 files changed

+11
-13
lines changed

.github/workflows/ci.yaml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,10 @@ jobs:
1818
with:
1919
key: nix-${{ runner.os }}-front-${{ hashfiles('**/flake.nix', '**/flake.lock') }}
2020
linux-gc-enabled: true
21-
linux-max-store-size: 0
21+
linux-max-store-size: 900000000
2222
macos-gc-enabled: true
23-
macos-max-store-size: 0
23+
macos-max-store-size: 900000000
2424
restore-keys: |
25-
nix-${{ runner.os }}-front-${{ hashfiles('**/flake.nix', '**/flake.lock') }}
2625
nix-${{ runner.os }}-front-
2726
- name: Build
2827
run: |-
@@ -56,11 +55,10 @@ jobs:
5655
with:
5756
key: nix-${{ runner.os }}-back-${{ hashfiles('**/flake.nix', '**/flake.lock') }}
5857
linux-gc-enabled: true
59-
linux-max-store-size: 0
58+
linux-max-store-size: 7000000000
6059
macos-gc-enabled: true
61-
macos-max-store-size: 0
60+
macos-max-store-size: 7000000000
6261
restore-keys: |
63-
nix-${{ runner.os }}-back-${{ hashfiles('**/flake.nix', '**/flake.lock') }}
6462
nix-${{ runner.os }}-back-
6563
- name: Log in to Heroku
6664
uses: AkhileshNS/heroku-deploy@master

flake.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

nix-files/workflow.nix

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ let
2626
(steps.cacheNix {
2727
keyJob = "front";
2828
linuxGCEnabled = true;
29-
linuxMaxStoreSize = 0;
29+
linuxMaxStoreSize = 900000000;
3030
macosGCEnabled = true;
31-
macosMaxStoreSize = 0;
31+
macosMaxStoreSize = 900000000;
3232
})
3333
{
3434
name = "Build";
@@ -55,9 +55,9 @@ let
5555
(steps.cacheNix {
5656
keyJob = "back";
5757
linuxGCEnabled = true;
58-
linuxMaxStoreSize = 0;
58+
linuxMaxStoreSize = 7000000000;
5959
macosGCEnabled = true;
60-
macosMaxStoreSize = 0;
60+
macosMaxStoreSize = 7000000000;
6161
})
6262
{
6363
name = "Log in to Heroku";

0 commit comments

Comments
 (0)