Skip to content
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

Add shellcheck ci #299

Draft
wants to merge 7 commits into
base: master
Choose a base branch
from
Draft

Add shellcheck ci #299

wants to merge 7 commits into from

Conversation

wingolab
Copy link
Collaborator

Shell scripts should be checked, linted, or both. This is a simple github workflow for adding shell script checking. Adding linting with shfmt could be done, but, that will not address potentially problematic (usually non-portable) scripts in the same way so I think shellcheck is sufficient.

Thomas Wingo added 6 commits October 16, 2023 20:55
- change cpanm to cpm for faster building
- minor tweaks to dist and cpanfile
- use tempdir for writing database
- remove unused packages
- organize package imports
- Use temporary directory for database
- Use test helper library t/lib for common functions
- Remove testing artifacts (i.e., test dbs)
- Style imports to improve clarity
- Remove some unused imports
@akotlar
Copy link
Collaborator

akotlar commented Oct 17, 2023

This is awesome

@akotlar
Copy link
Collaborator

akotlar commented Oct 17, 2023

I think that this is staged on #298 , pulls in additional changes. Once we merge #298, this will need a rebase, because we use the squash merge strategy which rewrites git history, at the advantage of a cleaner commit history for the repo.

@wingolab
Copy link
Collaborator Author

You're right about how it was added on top of other changes. It's just a single file so it could be added anytime.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants