From 119d2a208944f7b4d37cf1afd275dbd6fa7cb0b0 Mon Sep 17 00:00:00 2001 From: seth Date: Tue, 16 May 2023 07:35:50 -0400 Subject: ci: use nix develop in format workflow --- .github/workflows/format.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/format.yaml b/.github/workflows/format.yaml index 7610e0b..d1589a0 100644 --- a/.github/workflows/format.yaml +++ b/.github/workflows/format.yaml @@ -17,9 +17,14 @@ jobs: - name: install Nix uses: cachix/install-nix-action@v20 + - uses: cachix/cachix-action@v12 + with: + name: getchoo + authToken: ${{ secrets.CACHIX_AUTH_TOKEN }} + - name: format run: | - nix run nixpkgs#nodePackages.prettier -- --editorconfig -w . + nix develop --command bash -c "yarn format" - name: add and commit uses: EndBug/add-and-commit@v9 -- cgit v1.2.3