diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f1e45a9d..f6f3ef4a 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