Skip to content

Commit 99112b4

Browse files
committed
feat: Add testing CI workflow
Signed-off-by: Dom Rodriguez <[email protected]>
1 parent 3b09132 commit 99112b4

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.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@v4
16+
- uses: cachix/install-nix-action@v26
17+
- uses: cachix/cachix-action@v14
18+
with:
19+
name: devenv
20+
- name: Install devenv.sh
21+
run: nix profile install nixpkgs#devenv
22+
23+
- name: Build the devenv shell and run any pre-commit hooks
24+
run: devenv test

0 commit comments

Comments
 (0)