summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorTaiki Endo <te316e89@gmail.com>2020-06-11 04:51:24 +0900
committerGitHub <noreply@github.com>2020-06-11 04:51:24 +0900
commitd22301967b6c154adfefb1eb029c1819708f2037 (patch)
tree027a69a7d99bf85cbe46551f80954e07e1f7191e /.github
parent4010335c84517571e9b2d13f66f7c72170493622 (diff)
chore: fix macOS ci on github actions (#2602)
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/test_tokio.yml21
1 files changed, 21 insertions, 0 deletions
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