diff options
Diffstat (limited to '.github/workflows/checkandformat.yml')
| -rw-r--r-- | .github/workflows/checkandformat.yml | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/.github/workflows/checkandformat.yml b/.github/workflows/checkandformat.yml deleted file mode 100644 index 8560ae7..0000000 --- a/.github/workflows/checkandformat.yml +++ /dev/null @@ -1,41 +0,0 @@ -name: check and format flake - -on: - #pull_request: - # paths: - # - "**.nix" - #push: - # paths: - # - "**.nix" - workflow_dispatch: - -jobs: - check: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - - uses: cachix/install-nix-action@v19 - with: - github_access_token: ${{ secrets.GITHUB_TOKEN }} - - - run: | - export NIXPKGS_ALLOW_UNSUPPORTED_SYSTEM=1 - export NIXPKGS_ALLOW_BROKEN=1 - nix flake check --impure - format: - if: ${{ github.event_name == 'push' }} - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - - uses: cachix/install-nix-action@v19 - with: - github_access_token: ${{ secrets.GITHUB_TOKEN }} - - - run: nix fmt - - - uses: EndBug/add-and-commit@v9 - with: - default_author: github_actions - message: "chore: format flake" |
