Skip to content

Commit 620bc71

Browse files
authored
Create ci.yml
1 parent 8762d9f commit 620bc71

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/ci.yml

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Nix CI
2+
3+
on:
4+
push:
5+
branches: [ "main" ]
6+
pull_request:
7+
branches: [ "main" ]
8+
9+
env:
10+
CARGO_TERM_COLOR: always
11+
12+
jobs:
13+
build:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v3
17+
- uses: cachix/install-nix-action@v22
18+
with:
19+
github_access_token: ${{ secrets.GITHUB_TOKEN }}
20+
- run: nix build
21+
- run: nix flake check

0 commit comments

Comments
 (0)