summaryrefslogtreecommitdiff
path: root/checks.nix
blob: b813d83e6d890697f92939a0e378a082f5eb435c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ 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
          ;
      };
    };
}