diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 03d7c4c5..e13f66b1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -33,8 +33,9 @@ variables: rustfmt: stage: lint + image: rustlang/rust:nightly script: - - rustfmt --check --edition 2018 **/*.rs + - find -type f -iname '*.rs' -not -path './target/*' | xargs rustfmt --check --edition 2018 rust-latest-build: extends: