php-parallel-lint / PHP-Parallel-Lint

This tool check syntax of PHP files faster than serial check with fancier output.
Other
281 stars 21 forks source link

GH Actions: harden the workflow against PHPCS ruleset errors #128

Closed jrfnl closed 1 year ago

jrfnl commented 1 year ago

If there is a ruleset error, the cs2pr action doesn't receive an xml report and exits with a 0 error code, even though the PHPCS run failed (though not on CS errors, but on a ruleset error).

This changes the GH Actions workflow to allow for that situation and still fail the build in that case.