From 8ae53cef85c3b1a264c756a15b92a983c9465d91 Mon Sep 17 00:00:00 2001 From: Matthew Gregan Date: Fri, 23 Jul 2021 16:24:14 +1200 Subject: [PATCH] Enable clippy on CI. --- .github/workflows/build.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 18fec33..f0d2d98 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -29,15 +29,16 @@ jobs: submodules: recursive - name: Install Rust - run: rustup toolchain install ${{ matrix.rust }} --profile minimal --component rustfmt + run: rustup toolchain install ${{ matrix.rust }} --profile minimal --component rustfmt clippy - name: Check format shell: bash run: rustup run ${{ matrix.rust }} cargo fmt --all -- --check -# - name: Clippy -# shell: bash -# run: rustup run ${{ matrix.rust }} cargo clippy --all -- -D warnings + # Skip clippy checks for `systest` + - name: Clippy + shell: bash + run: rustup run ${{ matrix.rust }} cargo clippy -p cubeb -p cubeb-backend -p cubeb-core -p cubeb-sys -- -D warnings - name: Build shell: bash