Skip to content

Commit e71e41b

Browse files
authored
Merge pull request #9 from Lassulus/ci
github-ci: init
2 parents 14b56c1 + 7426577 commit e71e41b

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/test.yml

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

0 commit comments

Comments
 (0)