From 1cb6b50331b1ec31148f32f66d7c8a83470f378a Mon Sep 17 00:00:00 2001 From: Patrick Fong Date: Thu, 28 Sep 2023 10:56:53 -0700 Subject: [PATCH] add Prettier step to check formatting --- .github/workflows/test.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5055907c7..dce25a53e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -96,3 +96,11 @@ jobs: - name: Test Dynamic Build run: nix develop -c zig build -Dstatic=false + + prettier: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 # Check out repo so we can lint it + - uses: actionsx/prettier@v3 + with: + args: --check .