Skip to content

Commit

Permalink
Update GRPC-related tools and fix issues
Browse files Browse the repository at this point in the history
Signed-off-by: Yury Kulazhenkov <ykulazhenkov@nvidia.com>
  • Loading branch information
ykulazhenkov committed Nov 27, 2024
1 parent a107fb2 commit 0f50995
Show file tree
Hide file tree
Showing 5 changed files with 94 additions and 224 deletions.
10 changes: 5 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -149,10 +149,10 @@ CONTROLLER_GEN ?= $(LOCALBIN)/controller-gen
GOLANGCILINT_VERSION ?= v1.62.2
GCOV2LCOV_VERSION ?= v1.0.5
MOCKERY_VERSION ?= v2.49.1
PROTOC_VER ?= 23.4
PROTOC_GEN_GO_VER ?= 1.31.0
PROTOC_GEN_GO_GRPC_VER ?= 1.3.0
BUF_VERSION ?= 1.23.1
PROTOC_VER ?= 28.3
PROTOC_GEN_GO_VER ?= 1.35.2
PROTOC_GEN_GO_GRPC_VER ?= 1.5.1
BUF_VERSION ?= 1.47.2
CONTROLLER_GEN_VERSION ?= v0.16.5

.PHONY: envtest
Expand Down Expand Up @@ -249,7 +249,7 @@ grpc-check: grpc-format grpc-lint protoc protoc-gen-go protoc-gen-go-grpc $(GRPC
grpc-lint: buf ## Lint GRPC files
@echo "lint protobuf files";
cd $(PROTO_DIR) && \
$(BUF) lint --config ../buf.yaml
$(BUF) lint --config ../buf.yaml .

.PHONY: grpc-format
grpc-format: buf ## Format GRPC files
Expand Down
4 changes: 2 additions & 2 deletions api/grpc/buf.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
version: v1
lint:
use:
- DEFAULT
- PACKAGE_NO_IMPORT_CYCLE
- STANDARD
- COMMENTS
Loading

0 comments on commit 0f50995

Please sign in to comment.