Check with nightly image; remove zsh-ism

Maxime “pep” Buquet created

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>

Change summary

.gitlab-ci.yml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

Detailed changes

.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: