Skip to content

Commit

Permalink
ci: add clippy::pedantic linter to proof-of-sql-parser (#213)
Browse files Browse the repository at this point in the history
# Rationale for this change

We have added `clippy::pedantic` support for the `proof-of-sql-parser`
crate. Therefore, we're introducing a Clippy check in the CI to enforce
the `clippy::pedantic` linter. At this time, we won't include pedantic
in the `.toml` file since the `proof-of-sql` library doesn't support it
yet.
  • Loading branch information
iajoiner authored Oct 4, 2024
2 parents 258789c + d3c37ae commit 5b8847e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/lint-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 5b8847e

Please sign in to comment.