diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index d781bbc651..ada303a3d7 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -170,12 +170,12 @@ jobs: echo "CLIPPY_COMMON_ARGS=${CLIPPY_COMMON_ARGS}" >> $GITHUB_ENV - name: Run cargo clippy (debug) - run: mold -run cargo hack --feature-powerset clippy -j$(nproc) $CLIPPY_COMMON_ARGS + run: mold -run cargo hack --feature-powerset clippy $CLIPPY_COMMON_ARGS # instead of running the full release build, running debug build again, # but with disabled `debug-assertions` to excersice release code paths - name: Run cargo clippy (debug, with debug-assertions=false) - run: mold -run cargo hack --feature-powerset clippy -j$(nproc) $CLIPPY_COMMON_ARGS -C debug-assertions=off + run: mold -run cargo hack --feature-powerset clippy $CLIPPY_COMMON_ARGS -C debug-assertions=off - name: Check documentation generation run: cargo doc --workspace --no-deps --document-private-items