From b3e6e089dafbae7a90fb3a4c4bbed092ac65e863 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maxime=20=E2=80=9Cpep=E2=80=9D=20Buquet?= Date: Tue, 18 Jun 2024 20:38:42 +0200 Subject: [PATCH] CI: display rustfmt version MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maxime “pep” Buquet --- .forgejo/workflows/build.yaml | 1 + .gitlab-ci.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.forgejo/workflows/build.yaml b/.forgejo/workflows/build.yaml index 934098e7..ed0968fe 100644 --- a/.forgejo/workflows/build.yaml +++ b/.forgejo/workflows/build.yaml @@ -19,6 +19,7 @@ jobs: run: | rustup update rustup component add rustfmt + cargo fmt --version cargo fmt --check test-stable: diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 367cc4b7..35a7e5ed 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -60,6 +60,7 @@ rustfmt: stage: lint script: - rustup component add rustfmt + - cargo fmt --version - cargo fmt --check extends: - .stable