From 955cf8d0e1646182de2e6c6a3d3375b12633a276 Mon Sep 17 00:00:00 2001 From: StackDoubleFlow Date: Thu, 14 Dec 2023 10:35:51 -0600 Subject: [PATCH] ci: check formatting --- .github/workflows/test.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 426d0051..18dc8a80 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -19,5 +19,15 @@ jobs: with: toolchain: stable - uses: Swatinem/rust-cache@v1 + - name: Build - run: cargo test --verbose \ No newline at end of file + uses: actions-rs/cargo@v1 + with: + command: test + args: --verbose + + - name: Check formatting + uses: actions-rs/cargo@v1 + with: + command: fmt + args: --all -- --check