From 25c6310c2c0d48f40516814e728ac002f9f11c82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Orhun=20Parmaks=C4=B1z?= Date: Tue, 21 Jun 2022 23:26:47 +0200 Subject: [PATCH] chore(ci): integrate cargo clippy into continuous integration --- .github/workflows/ci.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 5cf3b862..809f1f9a 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -56,3 +56,18 @@ jobs: with: command: fmt args: --all -- --check + check_lints: + name: Checking lints + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Install stable toolchain + uses: actions-rs/toolchain@v1 + with: + toolchain: stable + components: clippy + - name: Check lints + uses: actions-rs/cargo@v1 + with: + command: clippy + args: -- -D warnings