diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f1e45a9df2500838b71c2b233ab36fcfd045b288..f6f3ef4a81664902566e8fd38607f584b51c03b1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -34,7 +34,7 @@ rustfmt: stage: lint script: - rustup component add rustfmt - - find -type f -iname '*.rs' -not -path './target/*' | xargs rustfmt --check --edition 2018 + - cargo fmt --check extends: - .stable