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.
This commit is contained in:
Idan Horowitz 2022-01-22 19:19:29 +02:00
parent bb340f1272
commit 024ee0a99a
Notes: sideshowbarker 2024-07-17 20:27:10 +09:00

View file

@ -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'