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

Install shfmt during static analysis to enable lint #14391

Merged
merged 3 commits into from
Jul 29, 2022

Conversation

jack-w-shaw
Copy link
Member

If shfmt isn't installed, the static analysis test suite skips this test. This has been allowing lint failures to pass unnoticed

Checklist

  • [ ] Code style: imports ordered, good names, simple structure, etc
  • [ ] Comments saying why design decisions were made
  • [ ] Go unit tests, with comments saying what you're testing
  • Integration tests, with comments saying what you're testing
  • [ ] doc.go added or updated in changed packages

QA steps

Successfully run the static analysis gh action, verifying shfmt linting runs

Copy link
Contributor

@juanmanuel-tirado juanmanuel-tirado left a comment

Choose a reason for hiding this comment

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

LG2M

@jack-w-shaw
Copy link
Member Author

/merge

@jack-w-shaw
Copy link
Member Author

/merge

@jujubot jujubot merged commit 31c7f66 into juju:2.9 Jul 29, 2022
@jack-w-shaw jack-w-shaw deleted the enable_shfmt_gh_action branch July 29, 2022 16:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants