chore: Remove strategy for non-matrix builds#186
Conversation
|
Is the schema validation wrong? Even though there's no matrix below there are multiple jobs and the intent is to fail fast the other jobs if one fails to release concurrency. Not sure this is a good change but maybe I'm missing something ... |
|
The separate |
|
Found the schema that VS Code is using https://json.schemastore.org/github-workflow |
|
It might be a bug in the schema - in this case we want fail fast even though it's not a matrix. |
|
Did an example to show that it doesn't behave like you're talking about https://github.com/nschonni/setup-node/actions/runs/499393700 |
Trimmed trailing spaces as well
theifedayo
left a comment
There was a problem hiding this comment.
what does strategy: failfast: false do? can you explain?
|
@theifedayo it stops parallel runs if one fails https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions#jobsjob_idstrategyfail-fast |
Just flagged in schema validation because the strategy value is only applicable if it has a matrix below it