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
Add template CI
oeiuwq.com
1 year ago
87b879fb
44bbdf28
+12
-1
2 changed files
expand all
collapse all
unified
split
README.md
templates
default
.github
workflows
test.yml
+1
-1
README.md
···
6
6
7
7
- nix-unit - The flake being checked (ie, `inputs.target`) is expected to expose `flakeModules.checkmate`:
8
8
9
9
-
````nix
9
9
+
```nix
10
10
# Example
11
11
flakeModules.checkmate =
12
12
{ inputs, ... }:
+11
templates/default/.github/workflows/test.yml
···
1
1
+
on:
2
2
+
pull_request:
3
3
+
push:
4
4
+
branches: [main]
5
5
+
jobs:
6
6
+
flake-check:
7
7
+
name: nix flake check
8
8
+
runs-on: ubuntu-latest
9
9
+
steps:
10
10
+
- uses: cachix/install-nix-action@v30
11
11
+
- run: nix flake check -L github:vic/checkmate --override-input target github:$GITHUB_REPOSITORY/$GITHUB_SHA