heptapod-ci: add `clippy` to the CI
This linter mostly makes our code more idiomatic, less surprising, has good
suggestions and catches bugs. It's widely used in the Rust community and now
part of the default toolchain when using `rustup`.
--- a/contrib/heptapod-ci.yml Tue Jan 10 11:39:53 2023 +0100
+++ b/contrib/heptapod-ci.yml Tue Jan 10 11:40:19 2023 +0100
@@ -41,6 +41,7 @@
script:
- echo "python used, $PYTHON"
- make rust-tests
+ - make cargo-clippy
variables:
PYTHON: python3