diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b21e6f6..a354e4c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -5,6 +5,7 @@ name: build jobs: bongonet: strategy: + fail-fast: false matrix: # nightly, MSRV, and latest stable toolchain: [nightly, 1.72, 1.82.0] @@ -34,6 +35,10 @@ jobs: toolchain: ${{ matrix.toolchain }} components: rustfmt, clippy + - name: Pin crates to versions for MSRV + run: | + [[ ${{ matrix.toolchain }} != 1.72.0 ]] || (cargo update -p boring --precise 4.13.0 && cargo update -p litemap --precise 0.7.4 && cargo update -p zerofrom --precise 0.1.5) + - name: Run cargo fmt run: cargo fmt --all -- --check @@ -55,4 +60,4 @@ jobs: - name: Run cargo machete run: | - [[ ${{ matrix.toolchain }} != 1.72.0 ]] || (cargo install cargo-machete && cargo machete) + [[ ${{ matrix.toolchain }} != 1.82.0 ]] || (cargo install cargo-machete --version 0.7.0 && cargo machete)