nix(feat): Add actionlint to postgrest-lint
This commit is contained in:
+6
-2
@@ -1,4 +1,5 @@
|
|||||||
{ black
|
{ actionlint
|
||||||
|
, black
|
||||||
, buildToolbox
|
, buildToolbox
|
||||||
, checkedShellScript
|
, checkedShellScript
|
||||||
, git
|
, git
|
||||||
@@ -50,7 +51,7 @@ let
|
|||||||
checkedShellScript
|
checkedShellScript
|
||||||
{
|
{
|
||||||
name = "postgrest-lint";
|
name = "postgrest-lint";
|
||||||
docs = "Lint all Haskell files and bash scripts.";
|
docs = "Lint all Haskell files, bash scripts and github workflows.";
|
||||||
inRootDir = true;
|
inRootDir = true;
|
||||||
}
|
}
|
||||||
''
|
''
|
||||||
@@ -65,6 +66,9 @@ let
|
|||||||
|
|
||||||
echo "Linting bash scripts..."
|
echo "Linting bash scripts..."
|
||||||
${shellcheck}/bin/shellcheck test/with_tmp_db
|
${shellcheck}/bin/shellcheck test/with_tmp_db
|
||||||
|
|
||||||
|
echo "Linting workflows..."
|
||||||
|
${actionlint}/bin/actionlint
|
||||||
'';
|
'';
|
||||||
|
|
||||||
in
|
in
|
||||||
|
|||||||
Reference in New Issue
Block a user