From cd9633ac2d275134b49412232fc96ef017ebe205 Mon Sep 17 00:00:00 2001 From: mike Date: Thu, 24 Oct 2024 15:40:45 +0200 Subject: [PATCH] feat: add clippy to pipeline --- .github/workflows/lint.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .github/workflows/lint.yml diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 0000000..b50a7ca --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,14 @@ +on: push +name: Clippy check + +# Make sure CI fails on all warnings, including Clippy lints +env: + RUSTFLAGS: "-Dwarnings" + +jobs: + clippy_check: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Run Clippy + run: cargo clippy --all-targets --all-features \ No newline at end of file