limit to p4

This commit is contained in:
Will Wang
2026-01-15 11:40:59 -08:00
parent 299d24e2d6
commit 5c751e8885

View File

@@ -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.