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 step to lint job #464

Merged
merged 1 commit into from
Jan 24, 2024
Merged

ci: Add shellcheck step to lint job #464

merged 1 commit into from
Jan 24, 2024

Conversation

marun
Copy link
Contributor

@marun marun commented Jan 23, 2024

#lintallthethings!

We lint code, why not shell scripts? In addition to simplifying the avoidance of common shell errors, the shellcheck wiki has lots of documentation for all the error types it checks for.

Testing

In addition to CI, local testing on arm64 linux and macos verified the logic for downloading and using a local (vs one in the path) shellcheck.

Related: AvalancheGo PR

@marun marun self-assigned this Jan 23, 2024
@marun marun marked this pull request as draft January 23, 2024 18:53
@marun marun force-pushed the ci-shellcheck branch 5 times, most recently from 4069bd2 to 5966314 Compare January 24, 2024 07:53
@marun marun marked this pull request as ready for review January 24, 2024 07:56
@marun marun added the testing Anything testing-related label Jan 24, 2024
@darioush darioush merged commit 87952c2 into master Jan 24, 2024
8 checks passed
@darioush darioush deleted the ci-shellcheck branch January 24, 2024 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
testing Anything testing-related
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

4 participants