protolint: configure protolint and fix the protolinting issues

This PR addresses the following:
- Install and Configure protolint to enforce the protobuf style guide rules in the CI.
- Fix the protolinting issues (package and import ordering) while maintaining the comaptibility.
This commit is contained in:
Mohamed Awnallah
2023-12-25 09:28:40 +02:00
parent ec5b824879
commit 1402ffd17b
10 changed files with 92 additions and 14 deletions

View File

@@ -134,6 +134,9 @@ jobs:
- name: check go modules tidiness
run: make tidy-module-check
- name: lint proto files
run: make protolint
- name: lint
run: GOGC=50 make lint