blob: 1a9a6ea5497108bdcf70fe0d0c0dedfac62f4558 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
name: check flake
on:
pull_request:
paths:
- "**.nix"
push:
paths:
- "**.nix"
workflow_dispatch:
workflow_call:
jobs:
check:
runs-on: ubuntu-latest
steps:
- name: checkout repo
uses: actions/checkout@v3
- name: install nix
uses: cachix/install-nix-action@v20
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
- name: run nix flake check
run: |
export NIXPKGS_ALLOW_UNSUPPORTED_SYSTEM=1
export NIXPKGS_ALLOW_BROKEN=1
export NIXPKGS_ALLOW_UNFREE=1
nix flake check --impure
|