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 <dev@notgull.net>
This commit is contained in:
John Nunley 2024-01-28 12:29:54 -08:00 committed by GitHub
parent 832064c012
commit 34d52bd350
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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