savi icon indicating copy to clipboard operation
savi copied to clipboard

Add support for GitHub Actions style error output

Open jemc opened this issue 2 years ago • 0 comments

GitHub Actions has a special style we can use when printing errors that will make the errors show up as annotations in the code of a pull request after they show up in a CI run.

This would be a relatively easy nice-to-have feature to make compiler errors (and in the future linter/warnings) more convenient in GitHub.

However, the format is not more readable for humans than our current format, so we'd want it to be an opt-in feature, or possibly one that we turn on if we detect (via env var perhaps) that we're running in a GitHub Actions environment.

jemc avatar Apr 01 '22 16:04 jemc