Skip to content

feat: add check-format workflow to enforce go.mod and format requirem… #44

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

knrc
Copy link
Contributor

@knrc knrc commented Jul 26, 2025

…ents

Summary

This PR adds a workflow to enforce the formatting of go content, as well as the correctness of go.mod. It executes go fmt via the makefile and go mod tidy on the command line, checking for modified content and failing if present.

Fixes #43

Release Note

NONE

Documentation

@cooktheryan
Copy link

any chance this could be wrapped into a larger local build test script?

@knrc
Copy link
Contributor Author

knrc commented Jul 29, 2025

any chance this could be wrapped into a larger local build test script?

In what way? The makefile already handles fmt/vet when running the tests and this is really just a follow-up from a conversation on #42

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.

Add workflow for enforcing format and go.mod correctness
2 participants