From 09ef2c84e49566fdb1ae4ae6dbc4c1e9fbddb255 Mon Sep 17 00:00:00 2001 From: Mateusz Charytoniuk Date: Fri, 15 May 2026 13:00:22 +0200 Subject: [PATCH] split fmt into format and fmt.check, use fmt.check in CI --- .github/workflows/unit-tests.yml | 2 +- Makefile | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index 864d5133..9d241530 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -21,7 +21,7 @@ jobs: - uses: Swatinem/rust-cache@v2 - - run: make fmt + - run: make fmt.check test: name: tests diff --git a/Makefile b/Makefile index 35a09b34..f6830ed4 100644 --- a/Makefile +++ b/Makefile @@ -64,6 +64,10 @@ clippy.tests.qwen_capable: .PHONY: fmt fmt: + cargo fmt --all + +.PHONY: fmt.check +fmt.check: cargo fmt --all --check .PHONY: test