We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e2e51e commit 8c7f306Copy full SHA for 8c7f306
.github/workflows/nix-build.yml
@@ -0,0 +1,28 @@
1
+name: Nix Build
2
+
3
+on:
4
+ pull_request:
5
+ push:
6
+ branches: ["master"]
7
8
+jobs:
9
+ build:
10
+ runs-on: ubuntu-latest
11
12
+ steps:
13
14
+ - name: Checkout
15
+ uses: actions/checkout@v4
16
17
+ - name: Install nix
18
+ uses: cachix/install-nix-action@v31
19
+ with:
20
+ nix_path: nixpkgs=channel:nixos-unstable
21
22
+ - name: Configure nix
23
+ run: |
24
+ mkdir -p ~/.config/nix
25
+ echo 'accept-flake-config = true' >>~/.config/nix/nix.conf
26
27
+ - name: Check nix build
28
+ run: nix build
0 commit comments