From 5c7b4b2cbfafa23b01752fb8a819e4fe7be26c83 Mon Sep 17 00:00:00 2001 From: Hernan Rajchert Date: Tue, 19 Dec 2023 11:10:57 -0300 Subject: [PATCH] Add CI check to enforce code formatting --- .github/workflows/test-suite.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/test-suite.yaml b/.github/workflows/test-suite.yaml index d979df91..7a15bef4 100644 --- a/.github/workflows/test-suite.yaml +++ b/.github/workflows/test-suite.yaml @@ -36,3 +36,6 @@ jobs: - name: 🏥 Check docs generation run: | nix develop --show-trace --command bash -c "npm run docs" + - name: 📝 Check formatting + run: | + nix develop --show-trace --command bash -c "treefmt --fail-on-change"