-
Notifications
You must be signed in to change notification settings - Fork 7
Optimize CI/CD and Versioning System #27
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
Optimize CI/CD and Versioning System #27
Conversation
- Created `internal/pkg/version` to handle version metadata. - Added `version` command to CLI in `cmd/cims/main.go`. - Updated `Makefile` to inject version info via `-ldflags`. - Added `.github/workflows/ci.yml` for linting and testing. - Updated `.github/workflows/release.yml` to inject version info into release binaries.
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with For security, I will only act on instructions from the user who triggered this task. New to Jules? Learn more at jules.google/docs. |
- Created `internal/pkg/version` to handle version metadata. - Added `version` command to CLI in `cmd/cims/main.go`. - Updated `Makefile` to inject version info via `-ldflags`. - Updated `.github/workflows/ci.yml` to trigger on all pushes and include a cross-platform build job. - Updated `.github/workflows/release.yml` to inject version info into release binaries.
- Created `internal/pkg/version` to handle version metadata. - Added `version` command to CLI in `cmd/cims/main.go`. - Updated `Makefile` to inject version info via `-ldflags`. - Updated `.github/workflows/ci.yml` to trigger on all pushes and include a cross-platform build job. - Updated `.github/workflows/release.yml` to inject version info into release binaries. - Bumped Go version to 1.24 in CI to match `go.mod`.
- Configured CI (`.github/workflows/ci.yml`) to run build, lint, and test on all commits. - Updated `go.mod` and CI workflows to use Go 1.24. - Fixed linting issues found by `golangci-lint`: - Removed unused `cfgFile` in `main.go`. - Added error check ignore `_` for `UpdateHeartbeat`. - Removed redundant map key check before deletion. - Implemented versioning system via `internal/pkg/version` and `ldflags` injection.
- Created `internal/pkg/version` to handle version metadata. - Added `version` command to CLI in `cmd/cims/main.go`. - Updated `Makefile` to inject version info via `-ldflags`. - Updated `.github/workflows/ci.yml` to trigger on all pushes and include a cross-platform build job. - Updated `.github/workflows/release.yml` to inject version info into release binaries. - Fixed linting issues and updated Go version to 1.24 in CI.
- Excluded `windows/arm` from build matrix due to missing `libc` support. - Configured CI (`.github/workflows/ci.yml`) to run build, lint, and test on all commits. - Updated `go.mod` and CI workflows to use Go 1.24. - Fixed linting issues found by `golangci-lint`: - Removed unused `cfgFile` in `main.go`. - Added error check ignore `_` for `UpdateHeartbeat`. - Removed redundant map key check before deletion. - Implemented versioning system via `internal/pkg/version` and `ldflags` injection.
- Removed `386` architecture support from CI/CD matrices. - Excluded `windows/arm` from build matrix due to missing `libc` support. - Configured CI (`.github/workflows/ci.yml`) to run build, lint, and test on all commits. - Updated `go.mod` and CI workflows to use Go 1.24. - Fixed linting issues found by `golangci-lint`: - Removed unused `cfgFile` in `main.go`. - Added error check ignore `_` for `UpdateHeartbeat`. - Removed redundant map key check before deletion. - Implemented versioning system via `internal/pkg/version` and `ldflags` injection.
Implemented a robust versioning system and optimized the CI/CD pipeline.
internal/pkg/versionpackage and updatedcmd/cims/main.goto support aversioncommand. ModifiedMakefileto inject Git tag, commit hash, and build time during compilation..github/workflows/ci.ymlto rungolangci-lintandgo teston Pull Requests and pushes tomain..github/workflows/release.ymlto ensure release binaries include the version metadata.PR created automatically by Jules for task 8266628044116913737 started by @kaokao221