From 73fe4d20628b1a310f814684169418aa06c9e529 Mon Sep 17 00:00:00 2001 From: David Hotham Date: Mon, 13 May 2024 20:07:26 +0100 Subject: [PATCH] clippy --- .github/workflows/build.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d390959f..08efc7f2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -61,12 +61,15 @@ jobs: run: rustup update ${{ matrix.rust }} --no-self-update && rustup default ${{ matrix.rust }} shell: bash - run: rustup target add ${{ matrix.target }} + - run: rustup component add clippy - run: brew install automake if: matrix.build == 'macos' name: Install automake - run: cargo fmt -- --check if: matrix.build == 'x86_64' name: Check formatting + - run: cargo clippy -- -D warnings + name: Run clippy - run: cargo build name: Build - run: cargo test