diff options
Diffstat (limited to '.github/workflows/checkandformat.yml')
| -rw-r--r-- | .github/workflows/checkandformat.yml | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/.github/workflows/checkandformat.yml b/.github/workflows/checkandformat.yml index 35722a5..8bd9a83 100644 --- a/.github/workflows/checkandformat.yml +++ b/.github/workflows/checkandformat.yml @@ -3,10 +3,10 @@ name: check and format flake on: pull_request: paths: - - '**.nix' + - "**.nix" push: paths: - - '**.nix' + - "**.nix" workflow_dispatch: jobs: @@ -19,7 +19,10 @@ jobs: with: github_access_token: ${{ secrets.GITHUB_TOKEN }} - - run: nix flake check + - run: | + export NIXPKGS_ALLOW_UNSUPPORTED_SYSTEM=1 + export NIXPKGS_ALLOW_BROKEN=1 + nix flake check --impure format: if: ${{ github.event_name != 'pull_request' }} runs-on: ubuntu-latest |
