Skip to content

Conversation

gnodet
Copy link
Owner

@gnodet gnodet commented Oct 2, 2025

No description provided.

@gnodet gnodet changed the title Upgrade to mvx 0.10.0 Upgrade to mvx 0.11.0 Oct 2, 2025
gnodet added 3 commits October 3, 2025 00:56
ENHANCEMENT: Add custom mvx command for checking Go code formatting without modifying files.

CHANGES:
- Added 'format-check' command to .mvx/config.json5
- Uses 'gofmt -s -l .' to list files that need formatting
- Integrates with existing CI workflow for format checking

BENEFITS:
- Cleaner CI workflow using mvx commands consistently
- Leverages mvx's Go environment management
- Follows the same pattern as other mvx commands (fmt, lint, etc.)
- Provides a reusable command for local development

Usage:
- CI: ./mvx format-check (lists unformatted files)
- Local: ./mvx fmt (actually formats the files)

The CI workflow now uses './mvx format-check' instead of manually finding GOROOT and calling gofmt, making it more consistent with the rest of the mvx-based workflow.
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