From ca40f29e06d6dda16ed7dd26f29a598057d3de26 Mon Sep 17 00:00:00 2001 From: Taiki Endo Date: Fri, 18 Jun 2021 21:35:29 +0900 Subject: [PATCH] Fix clippy issue --- .github/workflows/ci.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d4cbd220da..3e93f4c075 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -254,12 +254,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - name: Install Rust and Clippy - run: | - toolchain=nightly-$(curl -sSf https://rust-lang.github.io/rustup-components-history/x86_64-unknown-linux-gnu/clippy) - rustup set profile minimal - rustup default "$toolchain" - rustup component add clippy + - name: Install Rust + run: rustup toolchain install nightly --component clippy && rustup default nightly - run: cargo clippy --workspace --all-features --all-targets fmt: