From 68877c74d2404d6ee0e134e9016be7d63d8b510c Mon Sep 17 00:00:00 2001 From: Vicki Pfau Date: Tue, 27 Aug 2024 20:04:08 -0700 Subject: [PATCH] gitlab-ci: Add fmt check stage --- .gitlab-ci.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 82e9948..150207a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -10,3 +10,11 @@ test: script: - pacman -Sy --noconfirm --needed dbus rust - dbus-run-session cargo test + +fmt: + stage: test + tags: + - x86_64-linux-kvm-docker + script: + - pacman -Sy --noconfirm --needed rust + - cargo fmt --check