From a14ed45986ac941da01f3441a570a03f2de91054 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sosth=C3=A8ne=20Gu=C3=A9don?= Date: Fri, 20 Dec 2024 11:26:42 +0100 Subject: [PATCH] Add lints to CI --- .github/workflows/ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8246a54..777cb4a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -35,6 +35,12 @@ jobs: - name: Build run: cargo build --release --verbose --target ${{ matrix.target }} + - name: Lint + run: cargo clippy --release --verbose --target ${{ matrix.target }} -- -D warnings + + - name: fmt + run: cargo fmt --check + - name: Build examples run: cargo build --verbose --examples --target ${{ matrix.target }} if: matrix.target != 'x86_64-unknown-linux-gnu'