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

ci: add shellcheck linter #262

Open
wants to merge 2 commits into
base: v1alpha1
Choose a base branch
from

Conversation

sthaha
Copy link
Collaborator

@sthaha sthaha commented Oct 2, 2023

  • adds a new CI job to run shellcheck linter
  • fixes shellcheck errors and removes unused scripts

Signed-off-by: Sunil Thaha <[email protected]>
@sthaha
Copy link
Collaborator Author

sthaha commented Oct 2, 2023

cc: @vprashar2929

@vprashar2929
Copy link
Collaborator

@sthaha Can you add the description for the PR?🙂

@vprashar2929
Copy link
Collaborator

Shouldn't we add a shellcheck for source here as well?

@sthaha
Copy link
Collaborator Author

sthaha commented Oct 3, 2023

Shouldn't we add a shellcheck for source here as well?

Somehow shellchecker is happy. It could probably be the SHELLCHECK_OPT -x that is automatically following the sourced file.

@vprashar2929
Copy link
Collaborator

Wired🤔 then why not the same for other scripts?

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.

2 participants