changeset 49940:86958104b6ca

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`.
author Raphaël Gomès <rgomes@octobus.net>
date Tue, 10 Jan 2023 11:40:19 +0100
parents 0a58aaa2009c
children 8f76a41ee465
files contrib/heptapod-ci.yml
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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