Skip to content

lint error→warning; continue on - #154

Open
God-damnit-all wants to merge 1 commit into
ceifa:new-apis-2from
God-damnit-all:patch-2
Open

lint error→warning; continue on#154
God-damnit-all wants to merge 1 commit into
ceifa:new-apis-2from
God-damnit-all:patch-2

Conversation

@God-damnit-all

Copy link
Copy Markdown

Every workflow run has been failing because of the linting errors. It would be useful to see if it builds afterward.

In keeping with the rest of the file, it's a one-liner. The redirection is so that the output can escape into stdout. If an error occurs, it prepends ::warning:: to the error lines that have been joined with %0A (which GitHub Actions will translate to newlines) as a warning annotation.

Wrapping the whole command in parentheses was necessary to avoid a yaml syntax error, since apparently it doesn't like it when you start with an open curly brace.

I've tested this out already and it works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant