From 144145e4f93e7d34c8034dceb920f367aee0ae4a Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Thu, 16 Dec 2021 02:10:09 +0000 Subject: [PATCH] Pin tokio to 1.14.0 in CI for older rustc's --- .github/workflows/build.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4b9f23ff0..92419edbd 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -47,6 +47,7 @@ jobs: - toolchain: 1.41.0 build-no-std: false - toolchain: 1.45.2 + build-net-old-tokio: true build-net-tokio: true build-no-std: false coverage: true @@ -62,6 +63,9 @@ jobs: toolchain: ${{ matrix.toolchain }} override: true profile: minimal + - name: Pin tokio to 1.14 for Rust 1.45 + if: "matrix.build-net-old-tokio" + run: cargo update -p tokio --precise "1.14.0" --verbose - name: Build on Rust ${{ matrix.toolchain }} with net-tokio if: "matrix.build-net-tokio && !matrix.coverage" run: cargo build --verbose --color always @@ -271,7 +275,7 @@ jobs: linting: runs-on: ubuntu-latest env: - TOOLCHAIN: 1.45.2 + TOOLCHAIN: 1.47.0 steps: - name: Checkout source code uses: actions/checkout@v2 -- 2.39.5