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