From 67905f2c1e9af162cce5dd34d4d94c5d130c65f3 Mon Sep 17 00:00:00 2001 From: Hendrik Eeckhaut Date: Mon, 19 Jun 2023 11:36:48 +0200 Subject: [PATCH] Run Clippy as GitHub action #24 --- .github/workflows/rust.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index ca9cc4f4..072f4ace 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -23,6 +23,7 @@ jobs: with: profile: minimal toolchain: stable + components: clippy - uses: Swatinem/rust-cache@v2.0.0 - name: "Build" @@ -36,6 +37,11 @@ jobs: # RUSTDOCFLAGS: -D warnings run: cargo doc --no-deps --workspace --lib --document-private-items --examples + - name: Run Clippy + # env: + # RUSTDOCFLAGS: -D warnings + run: cargo clippy --all-targets --all-features + rustfmt: name: Rustfmt runs-on: ubuntu-latest