From 8b48cbd5010e3ce8c41406aafcd10b920a927102 Mon Sep 17 00:00:00 2001 From: seth Date: Tue, 15 Oct 2024 19:28:16 -0400 Subject: tidy up (#328) * nix: tidy up flake * ci: tidy up workflows * cleanup bindings --- .github/workflows/treefmt.yaml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/treefmt.yaml (limited to '.github/workflows/treefmt.yaml') diff --git a/.github/workflows/treefmt.yaml b/.github/workflows/treefmt.yaml new file mode 100644 index 0000000..1321488 --- /dev/null +++ b/.github/workflows/treefmt.yaml @@ -0,0 +1,30 @@ +name: Treefmt + +on: + pull_request: + paths: + - "**.lock" + - "**.nix" + - "**.ts" + - "package.json" + - "tsconfig.json" + + - ".github/workflows/ci.yaml" + workflow_dispatch: + +jobs: + treefmt: + name: Run treefmt + + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Install Nix + uses: DeterminateSystems/nix-installer-action@v14 + + - name: Run treefmt + run: | + nix fmt -- --ci -- cgit v1.2.3