nix(feat): Add actionlint to postgrest-lint

This commit is contained in:
Wolfgang Walther
2021-11-17 18:58:34 +01:00
committed by Remo
parent 43c8bde8ce
commit 041f73cae8
+6 -2
View File
@@ -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