From a3245bc78a7d427df98d2c5e2bd8fafcaae682e1 Mon Sep 17 00:00:00 2001 From: Min Kim Date: Tue, 10 Dec 2024 12:19:13 -0800 Subject: [PATCH] Enable pendantic clippy warnings by default --- .github/workflows/ci.yml | 2 +- Cargo.toml | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2893394..4acc1cc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,7 +14,7 @@ jobs: - name: Check formatting run: cargo fmt -- --check - name: Clippy - run: cargo clippy -- -D warnings -W clippy::pedantic + run: cargo clippy -- -D warnings - name: markdownlint uses: articulate/actions-markdownlint@v1 diff --git a/Cargo.toml b/Cargo.toml index f8bb825..8f3efe3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -36,3 +36,6 @@ thiserror = "1" [dev-dependencies] ahash = "0.8" serde_test = "1.0" + +[lints.clippy] +pedantic = "warn"