Automatically detects problems with sh/bash scripts and commands. http://www.shellcheck.net/
files
(optional, default:*.sh
) List of files whichshould be checked by shellcheck (usesseparator
).exclude
(optional) Comma separated list containing warnings which should be ignored.format
(optional) The formatter which is used by shellcheck.shell
(optional) Specify the dialect (bash,sh,ksh,zsh).separator
(optional, default:
This step won't work if the file you specify in files
contain a space in them.
Either use globbing, or specify a separator
to something which isn't
contained in the filename. Make sure you separate the files
with the
separator
.
build:
steps:
shellcheck:
files: file 01.sh|file 02.sh
separator: "|"
The MIT License (MIT)
- Initial release