From e2dee743888a2444a25f2dde30640bdebf8e09fd Mon Sep 17 00:00:00 2001 From: Yilin Chen Date: Sun, 28 Jul 2024 00:05:11 +0800 Subject: [PATCH] Use setup-rust-toolchain Signed-off-by: Yilin Chen --- .github/workflows/main.yml | 5 ++--- Cargo.toml | 1 - 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 191e1eb..60d520d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -13,12 +13,11 @@ jobs: rust: [stable, beta, nightly] runs-on: [ubuntu-latest] steps: - - uses: actions/checkout@v2 - - uses: actions-rs/toolchain@v1 + - uses: actions/checkout@v4 + - uses: actions-rust-lang/setup-rust-toolchain@v1 with: toolchain: ${{ matrix.rust }} components: clippy - override: true - name: Clippy run: | cargo clippy --all-targets --no-default-features --features=tokio -- -D warnings diff --git a/Cargo.toml b/Cargo.toml index 24323b7..cfb8826 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -15,7 +15,6 @@ edition = "2018" [features] default = ["tokio"] tor = [] -futures-io = ["dep:futures-io"] [[example]] name = "chainproxy"