diff options
Diffstat (limited to '.github/workflows/format.yaml')
| -rw-r--r-- | .github/workflows/format.yaml | 41 |
1 files changed, 0 insertions, 41 deletions
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" |
