blob: 35515da310b8d4b705d7265e789b539a0697e3e5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
{
inputs = {
nixpkgs.url = "nixpkgs/nixpkgs-unstable";
flake-utils.url = "github:numtide/flake-utils";
flake-checks.url = "github:getchoo/flake-checks";
};
outputs =
{
nixpkgs,
flake-utils,
flake-checks,
...
}:
flake-utils.lib.eachDefaultSystem (
system:
let
pkgs = nixpkgs.legacyPackages.${system};
flake-checks' = flake-checks.lib.mkChecks {
inherit pkgs;
root = ./.;
};
in
{
checks = {
check-actionlint = flake-checks'.actionlint;
check-deadnix = flake-checks'.deadnix;
check-nixfmt = flake-checks'.nixfmt;
};
}
);
}
|