nix: Run faster tasks first in postgrest-lint
This avoid long waiting times when waiting for the result of shellcheck or actionlint.
This commit is contained in:
+8
-8
@@ -57,6 +57,14 @@ let
|
|||||||
workingDir = "/";
|
workingDir = "/";
|
||||||
}
|
}
|
||||||
''
|
''
|
||||||
|
echo "Linting bash scripts..."
|
||||||
|
${shellcheck}/bin/shellcheck \
|
||||||
|
.github/get_cirrusci_freebsd \
|
||||||
|
.github/release
|
||||||
|
|
||||||
|
echo "Linting workflows..."
|
||||||
|
${actionlint}/bin/actionlint
|
||||||
|
|
||||||
echo "Checking consistency of import aliases in Haskell code..."
|
echo "Checking consistency of import aliases in Haskell code..."
|
||||||
${hsie} check-aliases main src
|
${hsie} check-aliases main src
|
||||||
|
|
||||||
@@ -65,14 +73,6 @@ let
|
|||||||
# --vimgrep fixes a bug in ag: https://github.com/ggreer/the_silver_searcher/issues/753
|
# --vimgrep fixes a bug in ag: https://github.com/ggreer/the_silver_searcher/issues/753
|
||||||
${silver-searcher}/bin/ag -l --vimgrep -g '\.l?hs$' . \
|
${silver-searcher}/bin/ag -l --vimgrep -g '\.l?hs$' . \
|
||||||
| xargs ${hlint}/bin/hlint -X QuasiQuotes -X NoPatternSynonyms
|
| xargs ${hlint}/bin/hlint -X QuasiQuotes -X NoPatternSynonyms
|
||||||
|
|
||||||
echo "Linting bash scripts..."
|
|
||||||
${shellcheck}/bin/shellcheck \
|
|
||||||
.github/get_cirrusci_freebsd \
|
|
||||||
.github/release
|
|
||||||
|
|
||||||
echo "Linting workflows..."
|
|
||||||
${actionlint}/bin/actionlint
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
in
|
in
|
||||||
|
|||||||
Reference in New Issue
Block a user