From c3c310f899dd0b65d039d51f91ad500a11772b25 Mon Sep 17 00:00:00 2001 From: Paul Loyd Date: Thu, 25 Jul 2024 12:43:57 +0400 Subject: [PATCH] chore(ci/msrv): specify tokio version --- .github/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 96b9ef2..174388a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -32,6 +32,9 @@ jobs: - run: rustup toolchain install ${{ env.MSRV }} --profile minimal - run: rustup override set ${{ env.MSRV }} - run: rustup show active-toolchain -v + # cargo from toolchain v1.67 doesn't choose versions based on MSRV, + # so we downgrade tokio because since v1.39 it requires rustc >=1.70. + - run: cargo update -p tokio --precise 1.38.1 - run: cargo build - run: cargo build --no-default-features - run: cargo build --features uuid,time