From 34d52bd3509596520d8095ed5bfdb8f9be1d28cd Mon Sep 17 00:00:00 2001 From: John Nunley Date: Sun, 28 Jan 2024 12:29:54 -0800 Subject: [PATCH] Fix MSRV CI issue by pinning half to v2.2.1 (#198) This commit fixes the MSRV CI failure by pinning the half crate to version 2.2.1 when MSRV CI is active. Signed-off-by: John Nunley --- .github/workflows/ci.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 60f7858..26811d6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -91,14 +91,17 @@ jobs: shell: bash run: cargo $CMD build --verbose --target ${{ matrix.platform.target }} $OPTIONS --features $FEATURES + - name: Pin versions of dev-deps + if: matrix.rust_version == '1.65.0' + run: cargo update -p half --precise 2.2.1 + - name: Build tests shell: bash if: > !((matrix.platform.os == 'ubuntu-latest') && contains(matrix.platform.target, 'i686')) && !contains(matrix.platform.target, 'redox') && !contains(matrix.platform.target, 'freebsd') && - !contains(matrix.platform.target, 'netbsd') && - matrix.rust_version != '1.65.0' + !contains(matrix.platform.target, 'netbsd') run: cargo $CMD test --no-run --verbose --target ${{ matrix.platform.target }} $OPTIONS --features $FEATURES - name: Run tests