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

chore: add rust code formatting check #1403

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

Conversation

shikharvashistha
Copy link

This commit adds rust code formatting to the CI

closes #1397

This commit adds rust code fromatting to the CI

Signed-off-by: Shikhar Vashistha <[email protected]>
This commit adds check flag to the formatting check

Signed-off-by: Shikhar Vashistha <[email protected]>
@felixfontein
Copy link
Contributor

The test looks good, though I'm not sure whether the placement is good. Right now it is run as part of the functional tests.

I'm wondering whether we should create a new workflow for such linting-style tests. I think it won't hurt to add more static code checks in the future, like staticcheck. What do you think @getsops/maintainers?

@devstein
Copy link
Contributor

devstein commented Jan 6, 2024

@felixfontein I agree that creating a separate workflow for linting would be preferable. I don't have a strong opinion whether it's done in this PR or a future one.

@shikharvashistha thanks for contributing!

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.

CI: add Rust code formatting check (for functional tests)
3 participants