summaryrefslogtreecommitdiff
path: root/checks.nix
diff options
context:
space:
mode:
Diffstat (limited to 'checks.nix')
-rw-r--r--checks.nix33
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
- '';
-}