From c95e19489c14c2b6b5a00600aa2c865c06565abd Mon Sep 17 00:00:00 2001 From: Bruce Mitchener Date: Tue, 19 Sep 2023 21:25:54 +0700 Subject: [PATCH] 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. --- .github/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e7b6af4..912bfcc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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