From 024ee0a99a211bdbdf06c7b414b8fc63ee0bdfbe Mon Sep 17 00:00:00 2001 From: Idan Horowitz Date: Sat, 22 Jan 2022 19:19:29 +0200 Subject: 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. --- Meta/Azure/Lagom.yml | 1 + 1 file changed, 1 insertion(+) (limited to 'Meta/Azure') 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' -- cgit v1.2.3