From 5c751e88855a7400b0dde44c137700d80f758d47 Mon Sep 17 00:00:00 2001 From: Will Wang Date: Thu, 15 Jan 2026 11:40:59 -0800 Subject: [PATCH] limit to p4 --- .github/workflows/rust-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/rust-ci.yml b/.github/workflows/rust-ci.yml index c6a70e90c9..d5ee65fe5d 100644 --- a/.github/workflows/rust-ci.yml +++ b/.github/workflows/rust-ci.yml @@ -302,7 +302,7 @@ jobs: continue-on-error: true run: | find . -name Cargo.toml -mindepth 2 -maxdepth 2 -print0 \ - | xargs -0 -n1 -P$(nproc) -I{} bash -c 'cd "$(dirname "{}")" && cargo check --profile ${{ matrix.profile }}' + | xargs -0 -n1 -P4 -I{} bash -c 'cd "$(dirname "{}")" && cargo check --profile ${{ matrix.profile }}' # Save caches explicitly; make non-fatal so cache packaging # never fails the overall job. Only save when key wasn't hit.