Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] Use warnings/errors for CI builds. #261

Closed
vintagepc opened this issue Oct 6, 2020 · 1 comment · Fixed by #262
Closed

[FEATURE] Use warnings/errors for CI builds. #261

vintagepc opened this issue Oct 6, 2020 · 1 comment · Fixed by #262
Labels
enhancement New feature or request

Comments

@vintagepc
Copy link
Owner

Is your feature request related to a problem? Please describe.
CI builds can issue warnings/errors with filenames and line numbers - make use of that fir things like code lint as it makes a nice annotation on the action result rather than needing to trawl through the logs.

https://docs.github.com/en/free-pro-team@latest/actions/reference/workflow-commands-for-github-actions#setting-a-warning-message

::error file={name},line={line},col={col}::{message}

and
::warning file={name},line={line},col={col}::{message}

@vintagepc
Copy link
Owner Author

vintagepc commented Oct 6, 2020

Ooooh, this is very nice!

image

And it even inlines it if the issue is on a changed line:
image

vintagepc added a commit that referenced this issue Oct 7, 2020
* Enable annotations for code lint (#261)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant