A set of problem matchers for shellcheck
that automatically decorate log output and generate GitHub annotations on for example a Pull Request.
This currently supports the gcc
and tty
formats.
To enable the shellcheck problem matchers, simply add this Action as a step before running the actual shellcheck
command:
uses: lumaxis/shellcheck-problem-matchers@v2
run: shellcheck -f gcc *.sh
Note: You will get the best results when specifying
gcc
as theshellcheck
output format:shellcheck -f gcc
See the actions tab for runs of this action! 🚀
By default, this Action installs all available problem matchers but you can specify one of the available formats explicitly:
uses: lumaxis/shellcheck-problem-matchers@v2
with:
format: gcc # Available options are "gcc" or "tty"