Skip to content

Commit 3bd81c3

Browse files
committed
Add github workflow
1 parent ba069ea commit 3bd81c3

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

.github/workflows/test.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: "Test"
2+
3+
on:
4+
pull_request:
5+
push:
6+
7+
jobs:
8+
tests:
9+
strategy:
10+
matrix:
11+
os: [ubuntu-latest, macos-latest]
12+
runs-on: {{ '${{ matrix.os }}' }}
13+
14+
steps:
15+
- uses: actions/checkout@v5
16+
- uses: cachix/install-nix-action@v31
17+
- uses: cachix/cachix-action@v16
18+
with:
19+
name: devenv
20+
- name: Install devenv.sh
21+
run: nix profile add nixpkgs#devenv
22+
23+
- name: Build the devenv shell and run any pre-commit hooks
24+
run: devenv test

0 commit comments

Comments
 (0)