diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b21e6f6..ea639fd 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -34,6 +34,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