summaryrefslogtreecommitdiff
path: root/.github/workflows/format.yaml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/format.yaml')
-rw-r--r--.github/workflows/format.yaml35
1 files changed, 0 insertions, 35 deletions
diff --git a/.github/workflows/format.yaml b/.github/workflows/format.yaml
deleted file mode 100644
index d4849eb..0000000
--- a/.github/workflows/format.yaml
+++ /dev/null
@@ -1,35 +0,0 @@
-name: format
-
-on:
- push:
- branches: [main]
- workflow_dispatch:
-
-permissions:
- contents: write
-
-jobs:
- format:
- runs-on: ubuntu-latest
-
- steps:
- - name: checkout repository
- uses: actions/checkout@v3
-
- - 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 develop --command bash -c "pnpm install && pnpm format"
-
- - name: add and commit
- uses: EndBug/add-and-commit@v9
- with:
- default_author: github_actions
- message: "chore: format with prettier"