diff options
| author | seth <[email protected]> | 2024-07-06 04:29:17 -0400 |
|---|---|---|
| committer | seth <[email protected]> | 2024-07-09 15:38:51 -0400 |
| commit | bb1b2e037e116aa6c704748817c4f29d573266c5 (patch) | |
| tree | d86fe6cd4e41e2030c0e0433b81a850a266a84d8 /dev/checks.nix | |
| parent | b5c11d1d4306218938be8989fb6e7945fd74d897 (diff) | |
tree-wide: use treefmt
Diffstat (limited to 'dev/checks.nix')
| -rw-r--r-- | dev/checks.nix | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/dev/checks.nix b/dev/checks.nix deleted file mode 100644 index 56c5038..0000000 --- a/dev/checks.nix +++ /dev/null @@ -1,42 +0,0 @@ -{ - perSystem = - { pkgs, ... }: - { - checks = { - check-formatting = - pkgs.runCommand "check-formatting" { nativeBuildInputs = [ pkgs.nixfmt-rfc-style ]; } - '' - cd ${./.} - - echo "running nixfmt..." - nixfmt --check . - - touch $out - ''; - - check-lint = - pkgs.runCommand "check-lint" - { - nativeBuildInputs = [ - pkgs.actionlint - pkgs.deadnix - pkgs.statix - ]; - } - '' - cd ${./.} - - echo "running actionlint..." - actionlint ./.github/workflows/* - - echo "running deadnix..." - deadnix --fail - - echo "running statix..." - statix check . - - touch $out - ''; - }; - }; -} |
