Skip to content

Commit c8949ff

Browse files
committed
ci(nix): check develop on linux and mac
1 parent 98449cc commit c8949ff

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/nix.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Nix
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
paths:
7+
- flake.nix
8+
- .github/workflows/nix.yml
9+
10+
jobs:
11+
develop:
12+
name: Develop (${{ matrix.name }})
13+
strategy:
14+
matrix:
15+
include:
16+
- name: Linux
17+
runner: ubuntu-latest
18+
- name: MacOS
19+
runner: macos-latest
20+
fail-fast: false
21+
runs-on: ${{ matrix.runner }}
22+
steps:
23+
- name: Install nix
24+
uses: cachix/install-nix-action@v27
25+
26+
- name: Checkout
27+
uses: actions/checkout@v4
28+
29+
- name: Nix develop
30+
run: nix develop --accept-flake-config --command echo "Nix environment setup successfully"

0 commit comments

Comments
 (0)