Branch: refs/heads/main
Revision: bfbe44137137d1a907bfb212deb9c0f8c8f7ce9c
Author: arifthpe
Link: Add a Github Actions workflow to run ShellCheck by arifthpe · Pull Request #28719 · chapel-lang/chapel · GitHub
Log Message:
Add a Github Actions workflow to run ShellCheck (#28719)
Add a workflow which uses this Github
Action to run
ShellCheck on our shell scripts, and fix
all the errors it found.
Notes:
- Excludes
testandthird-partydirs. - Limits to complaining about errors of the highest severity,
error. - Includes adding ShellCheck
shell
directive
comments to some.shfiles that are only sourced and not run, so they
have no shebang and ShellCheck can't otherwise guess which shell to use. - Adds comment directive to ignore an error resulting from use of
zsh-specific feature insetchplenv.bash, a script intended to be
sourced from eitherbashorzsh.
[reviewed by @jabraham17, thanks!]
Testing:
- check passes
Diff:
A .github/workflows/shellcheck.yml
M configure
M tools/mason/pullMasonDeps
M util/buildRelease/install.sh
M util/buildRelease/test_install.bash
M util/buildRelease/test_rpm_module.bash
M util/build_configs/functions.bash
M util/build_configs/module-functions.bash
M util/cron/common-arkouda.bash
M util/devel/chpl-run
M util/devel/gen-chpl-bash-completion
M util/devel/test/checkIgnore.sh
M util/devel/test/getFailedTestNames
M util/misc/gen-LAPACK/run.sh
M util/packaging/common/build_helpers.sh
M util/quickstart/setchplenv.bash
M util/quickstart/setchplenv.sh
M util/setchplenv.bash
M util/setchplenv.sh
M util/test/timers/defaultTimer
https://github.com/chapel-lang/chapel/pull/28719.diff