From d22301967b6c154adfefb1eb029c1819708f2037 Mon Sep 17 00:00:00 2001 From: Taiki Endo Date: Thu, 11 Jun 2020 04:51:24 +0900 Subject: chore: fix macOS ci on github actions (#2602) --- .github/workflows/test_tokio.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to '.github') diff --git a/.github/workflows/test_tokio.yml b/.github/workflows/test_tokio.yml index 47b0efab..522f7b14 100644 --- a/.github/workflows/test_tokio.yml +++ b/.github/workflows/test_tokio.yml @@ -23,6 +23,13 @@ jobs: - macos-latest steps: - uses: actions/checkout@master + - name: Install Rust + run: rustup update stable + if: matrix.os != 'macos-latest' + # https://github.com/rust-lang/rust/issues/73030 + - name: Install Rust + run: rustup update 1.43.1 && rustup default 1.43.1 + if: matrix.os == 'macos-latest' # Run `tokio` with only `full` - uses: actions-rs/cargo@v1 @@ -64,6 +71,13 @@ jobs: steps: - uses: actions/checkout@master + - name: Install Rust + run: rustup update stable + if: matrix.os != 'macos-latest' + # https://github.com/rust-lang/rust/issues/73030 + - name: Install Rust + run: rustup update 1.43.1 && rustup default 1.43.1 + if: matrix.os == 'macos-latest' # Run with all crate features - name: ${{ matrix.crate }} - cargo test --all-features @@ -114,6 +128,13 @@ jobs: - macos-latest steps: - uses: actions/checkout@master + - name: Install Rust + run: rustup update stable + if: matrix.os != 'macos-latest' + # https://github.com/rust-lang/rust/issues/73030 + - name: Install Rust + run: rustup update 1.43.1 && rustup default 1.43.1 + if: matrix.os == 'macos-latest' - run: cargo install cargo-hack name: Install cargo-hack - uses: actions-rs/cargo@v1 -- cgit v1.2.3