Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
**Title: Enhance CI Workflow and Update Protobuf Generation** (#126)
**Description:** - **CI Workflow Enhancements:** - Updated the GitHub Actions workflow to include a new `buf-generate` target in the `git-porcelain` task. This ensures that protobuf files are generated as part of the CI checks. - Added a conditional installation of `buf` in the CI environment. If `buf` is not installed, it will be automatically downloaded and installed during CI runs. This prevents build failures due to missing dependencies in CI environments. - **Makefile Updates:** - Introduced a new `buf-generate` target in the Makefile, which depends on the `install-buf` target. This target runs `buf generate` to regenerate protobuf files. - Added `install-buf` target to conditionally install `buf` only in CI environments. This ensures that local development environments are not affected if `buf` is not installed. - Updated the `all` target to include `buf-generate`, ensuring that all necessary build steps are executed. - **Protobuf File Update:** - Updated the `gen/api/v1/service.pb.go` file to reflect changes in the protobuf generation. This includes minor changes in the file descriptor bytes, likely due to updates in the source `.proto` files or the `buf` tool version. **Impact:** - These changes improve the robustness of the CI pipeline by ensuring all necessary tools and steps are included. - The updates to the protobuf files ensure that the generated code is up-to-date with the latest `.proto` definitions. **Notes:** - Developers should ensure `buf` is installed locally if they wish to run `buf-generate` outside of CI. - The changes in the protobuf file are automatically generated and should be reviewed to ensure compatibility with existing code. Signed-off-by: naveensrinivasan <172697+naveensrinivasan@users.noreply.github.com>
- Loading branch information