diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 03d7c4c52c26683a39bf585881d894217c6ec28b..e13f66b1a99f6da74922686a428c731a4b439f0d 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: