Skip to content

Commit 89bce6f

Browse files
authored
Add CI workflow (#1)
1 parent 79ae9f4 commit 89bce6f

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/ci.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: CI
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches: main
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
- uses: cachix/install-nix-action@v31
14+
with:
15+
github_access_token: ${{ secrets.GITHUB_TOKEN }}
16+
- uses: cachix/cachix-action@v16
17+
with:
18+
name: stackptr
19+
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
20+
- run: nix flake check
21+
- run: nix build

0 commit comments

Comments
 (0)