Skip to content

Commit 71817f4

Browse files
committed
nix: ci
1 parent de4e3be commit 71817f4

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/nix.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: "Nix CI"
2+
3+
on: [pull_request, push]
4+
5+
jobs:
6+
tests:
7+
name: "Nix build on ${{ matrix.os }}"
8+
runs-on: "${{ matrix.os }}-latest"
9+
strategy:
10+
matrix:
11+
os: [ubuntu]
12+
steps:
13+
- uses: actions/checkout@v4
14+
- uses: DeterminateSystems/nix-installer-action@main
15+
with:
16+
extra-conf: |
17+
trusted-substituters = https://gepetto.cachix.org
18+
trusted-public-keys = gepetto.cachix.org-1:toswMl31VewC0jGkN6+gOelO2Yom0SOHzPwJMY2XiDY=
19+
- uses: DeterminateSystems/magic-nix-cache-action@main
20+
- run: nix build --accept-flake-config

0 commit comments

Comments
 (0)