We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e3435c3 commit 4fded17Copy full SHA for 4fded17
1 file changed
.github/workflows/nix.yml
@@ -0,0 +1,25 @@
1
+name: Nix
2
+on:
3
+ push:
4
+ branches:
5
+ - main
6
+ pull_request:
7
+jobs:
8
+ build:
9
+ strategy:
10
+ matrix:
11
+ os:
12
+ - ubuntu-22.04
13
+ runs-on: ${{ matrix.os }}
14
+ steps:
15
+ - uses: actions/checkout@v2
16
+ - uses: cachix/install-nix-action@v16
17
+ # TODO: add a binary cache
18
+ # - uses: cachix/cachix-action@v10
19
+ # with:
20
+ # name: YOURCACHE
21
+ # authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
22
+ - run: nix flake check
23
+ # Pre-build the system configuration
24
+ - run: nix build .#nixosConfigurations.vm-intel
25
+
0 commit comments