Skip to content

Commit 50654c2

Browse files
committed
Added clippy to CI.
1 parent d1f3b84 commit 50654c2

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.circleci/config.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,9 @@ jobs:
6363
- run:
6464
name: "Lint"
6565
command: "cargo fmt --check"
66+
- run:
67+
name: "Clippy"
68+
command: "cargo clippy --all --all-targets -- -Dwarnings"
6669
- run:
6770
name: "Tests"
6871
command: "cargo clean && cargo build && cargo test && bash .circleci/run_tests.sh && .circleci/generate_coverage.sh"

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Thank you for contributing! Just a few tips here:
44

5-
1. `cargo fmt` your code before opening up a PR
5+
1. `cargo fmt` and `cargo clippy` your code before opening up a PR
66
2. Run the test suite (e.g. `pgbench`) to make sure everything still works. The tests are in `.circleci/run_tests.sh`.
77
3. Performance is important, make sure there are no regressions in your branch vs. `main`.
88

0 commit comments

Comments
 (0)