From f903fd142359dac09b90c7bda11bb96f62e67138 Mon Sep 17 00:00:00 2001 From: Vigith Maurice Date: Sun, 30 Jun 2024 17:10:18 -0700 Subject: [PATCH] chore: add formatting to CI --- .github/workflows/ci.yaml | 3 +++ .rustfmt.toml | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 5f7eb5c..f5bd840 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -49,3 +49,6 @@ jobs: - name: Run tests run: cargo test --verbose + + - name: Check formatting + run: cargo fmt --all -- --check diff --git a/.rustfmt.toml b/.rustfmt.toml index 51ed464..3a26366 100644 --- a/.rustfmt.toml +++ b/.rustfmt.toml @@ -1,2 +1 @@ edition = "2021" -indent_style = "Block" \ No newline at end of file