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: Check shell scripts in common with shellcheck #969

Merged
merged 2 commits into from
Dec 4, 2023
Merged

Conversation

silkeh
Copy link
Member

@silkeh silkeh commented Dec 4, 2023

Summary

Add shellcheck action to the GitHub workflow to reduce the amount of bugs in shell scripts.
Currently failing scripts (and one zsh script) have been excluded.
These can be removed from the ignored scripts when they have been fixed.

Resolves #968

Test Plan

This PR!

Checklist

  • CI checks pass

Add shellcheck action to the GitHub workflow to reduce the amount of bugs in shell scripts.
Currently failing scripts (and one zsh script) have been excluded.
These can be removed from the ignored scripts when they have been fixed.

Resolves #968
common/Scripts/helpers.sh Outdated Show resolved Hide resolved
@silkeh silkeh requested a review from ermo December 4, 2023 23:19
Copy link
Contributor

@ermo ermo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Better get this in. Then @joebonrichie can document the helpers.sh in a separate commit. >_>

@ermo ermo merged commit c37c2bd into main Dec 4, 2023
2 checks passed
@ermo ermo deleted the ci-shellcheck branch December 4, 2023 23:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Add shellcheck as a github action to lint bash scripts
3 participants