Skip to content

Commit

Permalink
nix: Run faster tasks first in postgrest-lint
Browse files Browse the repository at this point in the history
This avoid long waiting times when waiting for the result of shellcheck or actionlint.
  • Loading branch information
wolfgangwalther committed Feb 23, 2024
1 parent 0b3f6de commit 22e8906
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions nix/tools/style.nix
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,14 @@ let
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..."
${hsie} check-aliases main src
Expand All @@ -65,14 +73,6 @@ let
# --vimgrep fixes a bug in ag: https://github.com/ggreer/the_silver_searcher/issues/753
${silver-searcher}/bin/ag -l --vimgrep -g '\.l?hs$' . \
| 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
Expand Down

0 comments on commit 22e8906

Please sign in to comment.