Skip to content

Commit a997231

Browse files
committed
fix(ci): limit --max-jobs of nix-fast-build to 8 to prevent OOM while running nix flake check
1 parent ce39377 commit a997231

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/nix-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
name: Build psql bundle
7171
run: >
7272
nix run "github:Mic92/nix-fast-build?rev=b1dae483ab7d4139a6297e02b6de9e5d30e43d48"
73-
-- --skip-cached --no-nom ${{ matrix.runner == 'macos-latest-xlarge' && '--max-jobs 1' || '' }}
73+
-- --skip-cached --no-nom --max-jobs ${{ matrix.runner == 'macos-latest-xlarge' && '1' || '8' }}
7474
--flake ".#checks.$(nix eval --raw --impure --expr 'builtins.currentSystem')"
7575
env:
7676
AWS_ACCESS_KEY_ID: ${{ env.AWS_ACCESS_KEY_ID }}

0 commit comments

Comments
 (0)