From cc1b9b28db2e233e6d64111a4c5ca3370bf2ccbb Mon Sep 17 00:00:00 2001 From: Putta Khunchalee Date: Mon, 18 Mar 2024 21:46:04 +0700 Subject: [PATCH] Enables clippy on workspace members --- .github/workflows/ci.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 94db944..c17ba46 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,24 +16,20 @@ jobs: - name: Check Rust styles run: cargo fmt --check - name: Lint - run: cargo clippy -- -D warnings + run: cargo clippy --workspace -- -D warnings mac: name: Build (Mac) runs-on: macos-latest steps: - name: Check out source uses: actions/checkout@v4 - - name: Check Rust styles - run: cargo fmt --check - name: Lint - run: cargo clippy -- -D warnings + run: cargo clippy --workspace -- -D warnings windows: name: Build (Windows) runs-on: windows-latest steps: - name: Check out source uses: actions/checkout@v4 - - name: Check Rust styles - run: cargo fmt --check - name: Lint - run: cargo clippy -- -D warnings + run: cargo clippy --workspace -- -D warnings