We have this mix alias that we use in our CI:
build: [
"format --check-formatted",
"deps.unlock --check-unused",
"compile --force --warnings-as-errors",
"validate_translations",
"test"
],
This returns with an error if "compile --force --warnings-as-errors"
fail.
Strangely however if I move that line below validate_translations
or test
it doesn’t return an error and the CI passes even if there are compiler warnings.
I’m surprised by this behavior and would like to know why the order matters.