From eea01f22f5fda537c5664826f8f59f0d36a25f5c Mon Sep 17 00:00:00 2001 From: Morgante Pell Date: Tue, 7 Jan 2025 02:58:38 -0600 Subject: [PATCH] feat: switch clippy lint to direct usage --- .github/workflows/code-quality.yaml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/.github/workflows/code-quality.yaml b/.github/workflows/code-quality.yaml index 8456fc61e..da1a65821 100644 --- a/.github/workflows/code-quality.yaml +++ b/.github/workflows/code-quality.yaml @@ -18,7 +18,15 @@ jobs: - name: Install Protoc run: sudo apt-get install -y protobuf-compiler - run: rustup component add clippy - - uses: actions-rs/clippy-check@v1 + check: + name: Lint/Format Check + runs-on: ubuntu-latest + steps: + - name: Clone repository + uses: actions/checkout@v4 with: - token: ${{ secrets.GITHUB_TOKEN }} - args: --workspace --features test_ci --exclude grit-wasm-bindings -- -D warnings + submodules: true + - name: Format + run: cargo fmt --all -- --check + - name: Lint + run: cargo clippy --all-targets --all-features --workspace --release --locked -- -D clippy::all