ludeeus / action-shellcheck

GitHub action for ShellCheck.
MIT License
292 stars 69 forks source link

feat: add format input and a single-line problem matcher #40

Closed laughedelic closed 3 years ago

laughedelic commented 3 years ago

I added an alternative problem matcher for the gcc output format. Problem matchers work better with single line error messages because the regex matching is quite limited. In this case tty format doesn't show severity, so all messages are shown as errors which makes annotations quite noisy. Based on this I set the default format/matcher to the single line gcc which fixes the issue with severity.