Hello, I'm trying to setup a workflow that has two jobs, a lint job and a build job, with the build job requiring the lint to complete successfully before proceeding.
What I've run into is that if I use samuelmeuli's lint-action it is spawning off a seperate job for each linter, with the lint job being marked as complete/successful as soon as it's finished spawning them. This is causing the build job to start as soon as the lint job has spawned off the linters, but ESLint and Stylelint are still running and build will continue even as the linters fail.
How can I set my build job to require the two on-the-fly jobs? If I add the ESLint and Stylelint to the build `needs` it will not even process the workflow marking it as an error to referene non existant jobs.
This is an example of what I am using:
This is what happens:
There is no such thing as a dynaimc job in GitHub Actions. I think what that action is doing is using the API to create additional check_runs which is the underlying data store for how jobs outcome is stored. The action is setting those check_runs as failed they are not failing the actual action which in turn is not failing your job. I think you need to post an issue on the repo for that action ask why the don't fail the action when one of the linters fails.