From 267ff2e817a5870c37880616e82754a64f12ef73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maxime=20=E2=80=9Cpep=E2=80=9D=20Buquet?= Date: Fri, 16 Sep 2022 20:01:21 +0200 Subject: [PATCH] CI: Replace manual rustfmt invocation with cargo fmt MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maxime “pep” Buquet --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f1e45a9d..f6f3ef4a 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