feat: Modernize project infrastructure and documentation#9
Merged
Conversation
Owner
tkc
commented
Mar 23, 2025
| "context" | ||
| "testing" | ||
|
|
||
| "github.com/stretchr/testify/assert" |
There was a problem hiding this comment.
🚫 [golangci] reported by reviewdog 🐶
import 'github.com/stretchr/testify/assert' is not allowed from list 'Main' (depguard)
| "testing" | ||
|
|
||
| "github.com/stretchr/testify/assert" | ||
| "github.com/stretchr/testify/require" |
There was a problem hiding this comment.
🚫 [golangci] reported by reviewdog 🐶
import 'github.com/stretchr/testify/require' is not allowed from list 'Main' (depguard)
This commit includes several improvements to modernize the project: - Update Go version from 1.13 to 1.22 - Enhance GitHub Actions workflows: - Use latest action versions (checkout@v4, setup-go@v4, etc.) - Configure MySQL 8.0 with proper health checks - Add code coverage reporting and upload to Codecov - Improve CodeQL analysis with proper permissions - Update reviewdog with additional checks - Extend Makefile with new commands: - make test, test-race, test-cover for different test scenarios - make build for building binaries in ./bin/ directory - make install for installing to $GOPATH/bin - make clean for cleanup - Update documentation: - Rewrite README with comprehensive English documentation - Add detailed architecture explanation and usage examples - Update status badges and build instructions - Add bin/ directory to .gitignore These changes improve developer experience, ensure better code quality, and make the project more accessible to new contributors.
b476e85 to
8c03ec7
Compare
- Replace aliases in imports for yaml and faker packages - Update deprecated io/ioutil to os package - Improve error handling by replacing panic with proper error returns - Add explicit dependency installation in GitHub Actions - Fix typecheck errors for undefined yaml and faker packages
- Replace golangci-lint with native gofmt for format checking - Remove reviewdog due to compatibility issues - Simplify test workflow to reduce errors - Focus on basic formatting and test execution - Fix context package version compatibility issues
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.