summaryrefslogtreecommitdiff
path: root/Meta
diff options
context:
space:
mode:
authorIdan Horowitz <idan.horowitz@gmail.com>2022-01-22 19:19:29 +0200
committerIdan Horowitz <idan.horowitz@gmail.com>2022-01-22 21:40:09 +0200
commit024ee0a99a211bdbdf06c7b414b8fc63ee0bdfbe (patch)
tree599f801461756e1857ff6577f3741913b1b23cfc /Meta
parentbb340f1272e4d2316d0285c664492ce6a0413fe5 (diff)
downloadserenity-024ee0a99a211bdbdf06c7b414b8fc63ee0bdfbe.zip
CI: Fail Lagom linters step as soon as any linter fails
This prevents linters from covering the failure of previous linters by overwriting the error code that Azure reads at the end of the step.
Diffstat (limited to 'Meta')
-rw-r--r--Meta/Azure/Lagom.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/Meta/Azure/Lagom.yml b/Meta/Azure/Lagom.yml
index 54bab01ec9..cc153320b5 100644
--- a/Meta/Azure/Lagom.yml
+++ b/Meta/Azure/Lagom.yml
@@ -103,6 +103,7 @@ jobs:
- ${{ if eq(parameters.lagom_lints, true) }}:
- script: |
+ set -e
./Meta/check-markdown.sh
git ls-files '*.ipc' | xargs ./Meta/Lagom/Build/Tools/IPCMagicLinter/IPCMagicLinter
displayName: 'Run lints that require Lagom'