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

Makefile: Add fmt and validate commands #111

Merged
merged 3 commits into from
Dec 16, 2024
Merged

Conversation

heathcliff26
Copy link
Owner

Add a command to format the go code.
Add a command to validate that the workspace is clean.
Improve lint by installing golangci-lint if not available.
Add validate step to ci jobs to ensure code is always properly formatted.

Add a command to format the go code.
Add a command to validate that the workspace is clean.

Signed-off-by: Heathcliff <[email protected]>
Ensure code is always properly formatted by adding the validate step.

Signed-off-by: Heathcliff <[email protected]>
@heathcliff26 heathcliff26 enabled auto-merge (rebase) December 16, 2024 18:24
@heathcliff26 heathcliff26 merged commit d432951 into main Dec 16, 2024
8 checks passed
@heathcliff26 heathcliff26 deleted the fmt-and-validate branch December 16, 2024 18:29
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.

1 participant