Skip to content

Commit 271996c

Browse files
committed
Add Github Actions CI
1 parent a896c68 commit 271996c

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Nix Flake actions
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches:
7+
- master
8+
- main
9+
10+
permissions:
11+
contents: read
12+
pages: write
13+
id-token: write
14+
15+
jobs:
16+
nix-flake-check:
17+
runs-on: ubuntu-latest
18+
steps:
19+
- uses: actions/checkout@v6
20+
- uses: cachix/install-nix-action@v31
21+
with:
22+
github_access_token: ${{ secrets.GITHUB_TOKEN }}
23+
- uses: cachix/cachix-action@v16
24+
- name: Check flake
25+
run: nix flake check -L -v

0 commit comments

Comments
 (0)