heptapod-ci: add `clippy` to the CI
authorRaphaël Gomès <rgomes@octobus.net>
Tue, 10 Jan 2023 11:40:19 +0100
changeset 49940 86958104b6ca
parent 49939 0a58aaa2009c
child 49944 8f76a41ee465
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`.
contrib/heptapod-ci.yml
--- 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