Add a yaml linter step parallel to the build step to check all .yaml files in project

How do I add a new yaml linter step in parallel with my build step that will check all the .yaml files in my project and fail the step if there is incorrect yaml?

Thanks.