Skip to content

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