Skip to content

Commit

Permalink
Exclude demo project from pedantic linting
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Jul 6, 2023
1 parent 64c8dd9 commit f419c61
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,8 @@ jobs:
- 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
Expand Down
2 changes: 0 additions & 2 deletions demo/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#![allow(clippy::uninlined_format_args)]

#[cxx::bridge(namespace = "org::blobstore")]
mod ffi {
// Shared structs with fields visible to both languages.
Expand Down

0 comments on commit f419c61

Please sign in to comment.