Exclude demo project from pedantic linting
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index c4368bb..ca3341c 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -141,7 +141,8 @@
- uses: dtolnay/rust-toolchain@nightly
with:
components: clippy, rust-src
- - run: cargo clippy --workspace --tests -- -Dclippy::all -Dclippy::pedantic
+ - run: cargo clippy --workspace --tests --exclude demo -- -Dclippy::all -Dclippy::pedantic
+ - run: cargo clippy --manifest-path demo/Cargo.toml -- -Dclippy::all
clang-tidy:
name: Clang Tidy
diff --git a/demo/src/main.rs b/demo/src/main.rs
index 125200a..458f1f2 100644
--- a/demo/src/main.rs
+++ b/demo/src/main.rs
@@ -1,5 +1,3 @@
-#![allow(clippy::uninlined_format_args)]
-
#[cxx::bridge(namespace = "org::blobstore")]
mod ffi {
// Shared structs with fields visible to both languages.