Skip to content

Commit b63d4e4

Browse files
authored
ci(flake): run on mac also (#73)
1 parent 69af031 commit b63d4e4

1 file changed

Lines changed: 18 additions & 7 deletions

File tree

.github/workflows/nix-build.yml

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,22 @@
1-
name: "Nix build"
1+
name: Tests
2+
23
on:
3-
pull_request:
44
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
59
jobs:
6-
checks:
7-
runs-on: ubuntu-latest
10+
test:
11+
strategy:
12+
matrix:
13+
os: [ubuntu-latest, macos-latest]
14+
runs-on: ${{ matrix.os }}
815
steps:
9-
- uses: actions/checkout@v6
10-
- uses: DeterminateSystems/nix-installer-action@v22
11-
- run: nix flake check -Lv
16+
- uses: actions/checkout@v6
17+
with:
18+
fetch-depth: 0
19+
- name: Install Nix
20+
uses: DeterminateSystems/nix-installer-action@main
21+
- name: Run checks
22+
run: nix flake check -Lvv --log-format bar-with-logs

0 commit comments

Comments
 (0)