From 73b3ed1f9f67d21d2bbe0fb15d3a16bc3cd5f722 Mon Sep 17 00:00:00 2001 From: teor Date: Wed, 6 Dec 2023 11:56:18 +1000 Subject: [PATCH] Remove least used ci-build-crates.yml step and increase concurrency (#8058) --- .github/workflows/ci-build-crates.yml | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci-build-crates.yml b/.github/workflows/ci-build-crates.yml index 4e92a54a..823ac95f 100644 --- a/.github/workflows/ci-build-crates.yml +++ b/.github/workflows/ci-build-crates.yml @@ -107,7 +107,7 @@ jobs: strategy: # avoid rate-limit errors by only launching a few of these jobs at a time, # but still finish in a similar time to the longest tests - max-parallel: 3 + max-parallel: 4 fail-fast: true matrix: ${{ fromJson(needs.matrix.outputs.matrix) }} @@ -134,21 +134,16 @@ jobs: # # Some Zebra crates do not have any features, and most don't have any default features. # Some targets activate features, but we still need to be able to build without them. - - name: Build ${{ matrix.crate }} crate with no default features + - name: Build ${{ matrix.crate }} crate with default features run: | - cargo clippy --package ${{ matrix.crate }} --no-default-features -- -D warnings - cargo build --package ${{ matrix.crate }} --no-default-features + cargo clippy --package ${{ matrix.crate }} -- -D warnings + cargo build --package ${{ matrix.crate }} - name: Build ${{ matrix.crate }} crate with no default features and all targets run: | cargo clippy --package ${{ matrix.crate }} --no-default-features --all-targets -- -D warnings cargo build --package ${{ matrix.crate }} --no-default-features --all-targets - - name: Build ${{ matrix.crate }} crate with default features - run: | - cargo clippy --package ${{ matrix.crate }} -- -D warnings - cargo build --package ${{ matrix.crate }} - - name: Build ${{ matrix.crate }} crate with default features and all targets run: | cargo clippy --package ${{ matrix.crate }} --all-targets -- -D warnings