summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorseth <[email protected]>2023-05-16 07:35:50 -0400
committerseth <[email protected]>2023-05-16 07:36:41 -0400
commit119d2a208944f7b4d37cf1afd275dbd6fa7cb0b0 (patch)
tree0067ab27c1d8ad111e8f9c6a03c280c45711af82 /.github/workflows
parent836c7ba70cfbf8394ae77f6c1c439234431734b7 (diff)
ci: use nix develop in format workflow
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/format.yaml7
1 files changed, 6 insertions, 1 deletions
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