From 299d24e2d613603d6633f39ebc2f71e73569569e Mon Sep 17 00:00:00 2001 From: Will Wang Date: Thu, 15 Jan 2026 11:29:20 -0800 Subject: [PATCH] concurrency of number of cores --- .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 49c2e6c771..c6a70e90c9 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 -I{} bash -c 'cd "$(dirname "{}")" && cargo check --profile ${{ matrix.profile }}' + | xargs -0 -n1 -P$(nproc) -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.