Skip to content

add CI check for go mod tidy#102

Merged
rokuosan merged 2 commits intomainfrom
ci-go-mod-tidy
Apr 15, 2026
Merged

add CI check for go mod tidy#102
rokuosan merged 2 commits intomainfrom
ci-go-mod-tidy

Conversation

@rokuosan
Copy link
Copy Markdown
Owner

What changed

  • add a mod-tidy job to the Go CI workflow
  • run go mod tidy in CI and fail when it changes go.mod or go.sum

Why

  • verify module metadata stays clean in pull requests
  • catch stray dependency entries before merge

Impact

  • pull requests now fail if go.mod / go.sum are not tidy
  • current local go.mod / go.sum tidy cleanup is intentionally not included in this PR

Validation

  • go test ./...

@rokuosan rokuosan marked this pull request as ready for review April 15, 2026 13:13
@rokuosan rokuosan merged commit 57b0e35 into main Apr 15, 2026
4 checks passed
@rokuosan rokuosan self-assigned this Apr 15, 2026
@rokuosan rokuosan deleted the ci-go-mod-tidy branch April 15, 2026 13:14
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