From 22e8906c402e7a2a298ac68d23909744aff1393e Mon Sep 17 00:00:00 2001 From: Wolfgang Walther Date: Fri, 23 Feb 2024 14:02:05 +0100 Subject: [PATCH] nix: Run faster tasks first in postgrest-lint This avoid long waiting times when waiting for the result of shellcheck or actionlint. --- nix/tools/style.nix | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/nix/tools/style.nix b/nix/tools/style.nix index 7c1f35239..1ad91041c 100644 --- a/nix/tools/style.nix +++ b/nix/tools/style.nix @@ -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 @@ -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