From 3d05c4bff2b446a3a246b8b802e407b9cc1371c6 Mon Sep 17 00:00:00 2001 From: seth Date: Sun, 2 Jul 2023 15:46:53 -0400 Subject: ci!: start using garnix --- .github/workflows/format.yaml | 41 ----------------------------------------- 1 file changed, 41 deletions(-) delete mode 100644 .github/workflows/format.yaml (limited to '.github/workflows/format.yaml') diff --git a/.github/workflows/format.yaml b/.github/workflows/format.yaml deleted file mode 100644 index e189f46..0000000 --- a/.github/workflows/format.yaml +++ /dev/null @@ -1,41 +0,0 @@ -name: format project - -on: - workflow_call: - workflow_dispatch: - -permissions: - contents: write - -jobs: - cargo-fmt: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - - name: setup nix & cachix - uses: ./.github/actions/setup-nix - with: - cachix-token: ${{ secrets.CACHIX_AUTH_TOKEN }} - - - name: run cargo fmt - run: | - nix build -L .#checks.x86_64-linux.fmt - - nix-fmt: - runs-on: ubuntu-latest - if: github.event_name != 'pull_request' - steps: - - uses: actions/checkout@v3 - - - name: setup nix & cachix - uses: ./.github/actions/setup-nix - with: - cachix-token: ${{ secrets.CACHIX_AUTH_TOKEN }} - - - run: nix fmt - - - uses: EndBug/add-and-commit@v9 - with: - default_author: github_actions - message: "chore: fmt nix files" -- cgit v1.2.3