diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3d0021a840d90a27025acc3dfd14c0d88f0957a2..9df05f2371c27b33100a845601cb38a472178b4a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -26,9 +26,11 @@ variables: rustfmt: stage: lint - image: rustlang/rust:nightly script: + - rustup component add rustfmt - find -type f -iname '*.rs' -not -path './target/*' | xargs rustfmt --check --edition 2018 + extends: + - .stable rust-latest-build: extends: