Skip to content

Commit 773c0a2

Browse files
authored
ci: add test for nix build (#55)
1 parent 71b3a28 commit 773c0a2

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/main.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: "Nix build test"
2+
on:
3+
pull_request:
4+
push:
5+
jobs:
6+
tests:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v3
10+
- uses: cachix/install-nix-action@v22
11+
with:
12+
github_access_token: ${{ secrets.GITHUB_TOKEN }}
13+
- run: nix build
14+
- run: nix flake check

0 commit comments

Comments
 (0)