ci: Use is-terminal 0.4.7 for MSRV builds.

is-terminal 0.4.8 updated its MSRV to 1.63, so we can't use it
with our MSRV of 1.56. Force usage of the older version which has
an older MSRV.
This commit is contained in:
Bruce Mitchener 2023-09-19 21:25:54 +07:00
parent 59e97ae160
commit c95e19489c
1 changed files with 3 additions and 0 deletions

View File

@ -36,6 +36,9 @@ jobs:
with:
toolchain: ${{ matrix.rust }}
components: clippy
- name: Force older version of is-terminal for MSRV builds
if: matrix.rust == '1.56.0'
run: cargo update -p is-terminal --precise 0.4.7
- name: Clippy
run: cargo clippy --all -- -D warnings
- name: Run tests