From 495e619d0cc4b8766cc8df0938bb6f480fa8cbcb Mon Sep 17 00:00:00 2001 From: Mehul Mathur Date: Thu, 3 Oct 2024 07:57:23 +0000 Subject: [PATCH] ci: add clippy::pedantic linter to proof-of-sql-parser --- .github/workflows/lint-and-test.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/lint-and-test.yml b/.github/workflows/lint-and-test.yml index 535e626c0..4ad900618 100644 --- a/.github/workflows/lint-and-test.yml +++ b/.github/workflows/lint-and-test.yml @@ -132,6 +132,8 @@ jobs: run: export DEBIAN_FRONTEND=non-interactive && sudo apt-get update && sudo apt-get install -y clang lld - name: Run clippy run: cargo clippy --all-targets --all-features -- -D warnings + - name: Run clippy::pedantic for proof-of-sql-parser + run: cargo clippy --lib -p proof-of-sql-parser -- -D clippy::pedantic # Run cargo fmt --all -- --config imports_granularity=Crate,group_imports=One --check format: