Skip to content

Commit

Permalink
Fix MSRV CI issue by pinning half to v2.2.1 (#198)
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
notgull authored Jan 28, 2024
1 parent 832064c commit 34d52bd
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 34d52bd

Please sign in to comment.