Skip to content

Commit 4fded17

Browse files
committed
test runner mitchellh#1
1 parent e3435c3 commit 4fded17

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/nix.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)