New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Run shellcheck in CI (mk 3) #97
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great, thanks for your work! It looks good other than the minor nits that I added. No need to make a new PR, you can add new commits to this fixing the changes that I propose (than I will squash the PR into a single commit to main anyway). Once you do the changes @mgree approves it too we can merge :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a few nits---looks good, thanks!
Update: With getopts set to yvnhi, the shellcheck and test workflows are now passing. The explanation on colon use indicating an expected argument helped. Brainfart has been conquered. Alright, so with With
all other requests have been fixed up |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tiny nit! Looks good otherwise, thanks for the help!
thanks for making the fix and merging! |
For issue #72
Shellcheck workflow downloads latest version from spellcheck repo. Currently, ubuntu provides 0.8.0. Latest is 0.9.0.
For try fixes:
Fixed issue by removing extra quotes and using curly braces with variables
Fixed by defining the variables and then exporting them
Added shellcheck ignores for these in the workflow.
$union_helper
is used in the generated script, and we're dealing with Linux here specifically, so POSIX compliance is not paramountAdded h to getops line