From 041f73cae85de97948aa177818c9546b2510c1e3 Mon Sep 17 00:00:00 2001 From: Wolfgang Walther Date: Wed, 17 Nov 2021 09:34:13 +0100 Subject: [PATCH] nix(feat): Add actionlint to postgrest-lint --- nix/tools/style.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/nix/tools/style.nix b/nix/tools/style.nix index 5f171c522..6770f60cd 100644 --- a/nix/tools/style.nix +++ b/nix/tools/style.nix @@ -1,4 +1,5 @@ -{ black +{ actionlint +, black , buildToolbox , checkedShellScript , git @@ -50,7 +51,7 @@ let checkedShellScript { name = "postgrest-lint"; - docs = "Lint all Haskell files and bash scripts."; + docs = "Lint all Haskell files, bash scripts and github workflows."; inRootDir = true; } '' @@ -65,6 +66,9 @@ let echo "Linting bash scripts..." ${shellcheck}/bin/shellcheck test/with_tmp_db + + echo "Linting workflows..." + ${actionlint}/bin/actionlint ''; in