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