catalyst / catalyst-moodle-workflows

4 stars 8 forks source link

Completely parse warnings errors and turn them into ci error syntax #68

Open keevan opened 2 years ago

keevan commented 2 years ago

Rather than just trimming the output how about completely parsing it and turning into GitHub ci error syntax

::error file={name},line={line},endLine={endLine},title={title}::{message}

https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#setting-an-error-message

the same can be said about all of the checks

Originally posted by @brendanheywood in https://github.com/catalyst/catalyst-moodle-workflows/issues/64#issuecomment-1201230414