vishesh92 opened a new pull request, #84: URL: https://github.com/apache/cloudstack-kubernetes-provider/pull/84
This pull request updates the project's development tooling and documentation to improve compatibility, maintainability, and developer experience. The most significant changes are updates to GitHub Actions workflows and `golangci-lint` configuration, the addition of a `lint` target to the `Makefile`, and enhancements to the documentation for building and debugging. **CI/CD and Linting Improvements:** * Updated GitHub Actions workflows to use the latest versions of `ubuntu-latest`, `actions/checkout@v6`, and `actions/setup-go@v6`, and upgraded `golangci-lint-action` to v9 for improved reliability and support. (`.github/workflows/build.yml`, `.github/workflows/build-docker-image.yml`, `.github/workflows/golangci-lint.yml`) [[1]](diffhunk://#diff-5b40193e09025fd041de92d38c976d0b469e3ee85bef45a71d05d8b5078b1ee8L38-R43) [[2]](diffhunk://#diff-5c3fa597431eda03ac3339ae6bf7f05e1a50d6fc7333679ec38e21b337cb6721L28-R34) [[3]](diffhunk://#diff-d9a956120ac84289d2650137f64bd8f0893331de05e44cc41899dd984c9e0d48L33-R38) * Major overhaul of `.golangci.yml`: switched to version 2 config format, enabled/disabled specific linters, and added exclusions for generated code and certain paths for more precise linting. [[1]](diffhunk://#diff-6179837f7df53a6f05c522b6b7bb566d484d5465d9894fb04910dd08bb40dcc9L1-R10) [[2]](diffhunk://#diff-6179837f7df53a6f05c522b6b7bb566d484d5465d9894fb04910dd08bb40dcc9L37-R46) * Added a `lint` target to the `Makefile` to run `golangci-lint` and `gofmt`, improving local code quality checks. **Documentation Updates:** * Updated the required Go version from 1.21 to 1.23 in `README.md` to reflect current build requirements. * Improved example usage and added a new section on debugging with VSCode, including a sample `launch.json` configuration for easier local development. **Minor Code Quality Fixes:** * Standardized error message formatting in `cloudstack_loadbalancer.go` for consistency. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
