tangled
alpha
login
or
join now
oeiuwq.com
/
checkmate
0
fork
atom
A flake checker (treefmt & nix-unit) for testing other flakes with zero dependencies.
0
fork
atom
overview
issues
pulls
pipelines
Example yaml
oeiuwq.com
1 year ago
97446ab8
b5454b99
+19
-3
1 changed file
expand all
collapse all
unified
split
README.md
+19
-3
README.md
···
27
27
28
28
### CI Usage
29
29
30
30
-
```
31
31
-
# On your github action
32
32
-
nix check github:checkmate --override-input target path:$PWD -L --refresh
30
30
+
On your github action:
31
31
+
32
32
+
```yaml
33
33
+
on:
34
34
+
pull_request:
35
35
+
push:
36
36
+
branches: [main]
37
37
+
jobs:
38
38
+
flake-check:
39
39
+
name: nix flake check
40
40
+
runs-on: ubuntu-latest
41
41
+
steps:
42
42
+
- uses: cachix/install-nix-action@v30
43
43
+
- run: nix flake check -L github:vic/checkmate --override-input target github:$GITHUB_REPOSITORY/
44
44
+
$GITHUB_SHA
33
45
```
46
46
+
47
47
+
As a fully working example, see:
48
48
+
49
49
+
https://github.com/vic/import-tree