summaryrefslogtreecommitdiff
path: root/checks.nix
blob: 69a8818360f55130c21c3c89dc9ad9974b4dc7ef (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
{inputs, ...}: {
  perSystem = {
    lib,
    pkgs,
    ...
  }: {
    checks = {
      inherit
        (inputs.flake-checks.lib.mkChecks {
          inherit pkgs;
          root = lib.fileset.toSource {
            root = ./.;
            fileset = lib.fileset.gitTracked ./.;
          };
        })
        actionlint
        alejandra
        deadnix
        editorconfig
        statix
        ;
    };
  };
}