From b635d57415a0cff51021f72a0e565f6164541c83 Mon Sep 17 00:00:00 2001 From: aniketfuryrocks Date: Tue, 18 Jul 2023 17:38:32 +0530 Subject: [PATCH] install clippy --- .github/workflows/build_test.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build_test.yml b/.github/workflows/build_test.yml index ab6f6a6..27c9fd0 100644 --- a/.github/workflows/build_test.yml +++ b/.github/workflows/build_test.yml @@ -3,10 +3,10 @@ name: Rust Build and Clippy Check on: pull_request: branches: - - main + - main push: branches: - - main + - main jobs: build: @@ -17,12 +17,14 @@ jobs: - name: Checkout code uses: actions/checkout@v2 - # setup rust with stable toolchain - name: Set up Rust uses: actions-rs/toolchain@v1 with: toolchain: stable + - name: Install Clippy + run: rustup component add clippy --toolchain stable + - name: Build and test run: | cargo build --all-targets