diff options
| author | seth <[email protected]> | 2024-05-20 21:08:11 -0400 |
|---|---|---|
| committer | seth <[email protected]> | 2024-05-20 21:08:25 -0400 |
| commit | 62933d57b8740d1bdfa48f0a0efbdd8a80f6ccd6 (patch) | |
| tree | 6afea48587850f6cfd50c216174042ba1cf2e19a /checks.nix | |
| parent | b84ec810e5c2d07801388bba73abff5a2e9ed4a4 (diff) | |
nix: use flake-checks
Diffstat (limited to 'checks.nix')
| -rw-r--r-- | checks.nix | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/checks.nix b/checks.nix deleted file mode 100644 index bf680f1..0000000 --- a/checks.nix +++ /dev/null @@ -1,33 +0,0 @@ -{ - pkgs, - self, -}: let - inherit (pkgs) lib; - formatter = self.formatter.${pkgs.system}; -in { - check-actionlint = pkgs.runCommand "check-actionlint" {} '' - ${lib.getExe pkgs.actionlint} ${./.}/.github/workflows/* - touch $out - ''; - - "check-${formatter.pname}" = pkgs.runCommand "check-${formatter.pname}" {} '' - ${lib.getExe formatter} --check ${./.} - touch $out - ''; - - check-selene = pkgs.runCommand "check-selene" {} '' - cd ${./.} - ${lib.getExe pkgs.selene} . - touch $out - ''; - - check-statix = pkgs.runCommand "check-statix" {} '' - ${lib.getExe pkgs.statix} check ${./.} - touch $out - ''; - - check-stylua = pkgs.runCommand "check-stylua" {} '' - ${lib.getExe pkgs.stylua} --check ${./.} - touch $out - ''; -} |
