diff options
| author | seth <[email protected]> | 2023-03-09 19:39:23 -0500 |
|---|---|---|
| committer | seth <[email protected]> | 2023-03-09 19:39:38 -0500 |
| commit | 721a349afd94a6f58d29d07185024d174a782201 (patch) | |
| tree | 8ae2d14d8458e8598a80fe35d2fe1b90ce811f88 /.github/workflows | |
| parent | bc6276ede166783c5ba2aa1be504e3bbb546343e (diff) | |
add checks and dev shell
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/check.yml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml new file mode 100644 index 0000000..f35e930 --- /dev/null +++ b/.github/workflows/check.yml @@ -0,0 +1,26 @@ +name: check 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 + export NIXPKGS_ALLOW_UNFREE=1 + nix flake check --impure |
