Skip to content

Commit

Permalink
.github/ci: Set max-jobs to 3
Browse files Browse the repository at this point in the history
I believe this is a reduction, and the goal is to achieve a
reduction in peak memory usage, so that CI will pass again, and
possibly even be faster due to lower memory/cache pressure.
  • Loading branch information
roberth committed Nov 25, 2024
1 parent d004c52 commit dff6a64
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ jobs:
- uses: cachix/install-nix-action@v30
with:
# The sandbox would otherwise be disabled by default on Darwin
extra_nix_config: "sandbox = true"
extra_nix_config: |
sandbox = true
max-jobs = 3
- run: echo CACHIX_NAME="$(echo $GITHUB_REPOSITORY-install-tests | tr "[A-Z]/" "[a-z]-")" >> $GITHUB_ENV
- uses: cachix/cachix-action@v15
if: needs.check_secrets.outputs.cachix == 'true'
Expand Down

0 comments on commit dff6a64

Please sign in to comment.