From b0e3ca55a99acb2e794ff26b653048e35b1ca0ff Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Wed, 8 Jul 2020 13:25:05 -0700 Subject: [PATCH] ci: run script/fmt in the nix environment --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c281746..e628324 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -16,6 +16,6 @@ jobs: with: CACHIX_SIGNING_KEY: ${{ secrets.CACHIX_SIGNING_KEY }} - name: "Check Haskell formatting" - run: ./script/fmt -c + run: nix run -c "script/fmt -c" - name: "Run tests" run: ./script/test