Skip to content

Commit eccac6a

Browse files
committed
chore: incorporates protobuf linting and fixes
Signed-off-by: Jennifer Power <barnabei.jennifer@gmail.com>
1 parent 59af4e7 commit eccac6a

File tree

14 files changed

+772
-488
lines changed

14 files changed

+772
-488
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,7 @@ jobs:
3434
- name: Build
3535
run: make build
3636
- name: Run unit tests
37-
run: make test
37+
run: make test
38+
- uses: bufbuild/buf-action@c231a1aa9281e5db706c970f468f0744a37561fd # v1.2.0
39+
with:
40+
breaking: false

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ kustomize: $(KUSTOMIZE) ## Download kustomize locally if necessary.
104104
$(KUSTOMIZE): $(LOCALBIN)
105105
test -s $(LOCALBIN)/kustomize || { curl -Ss $(KUSTOMIZE_INSTALL_SCRIPT) | bash -s -- $(subst v,,$(KUSTOMIZE_VERSION)) $(LOCALBIN); }
106106

107+
# Requires BUF cli - https://buf.build/docs/cli/installation/
107108
generate-protobuf:
108-
protoc api/proto/*.proto --go-grpc_out=. --go-grpc_opt=paths=source_relative --go_out=. --go_opt=paths=source_relative --proto_path=.
109+
@buf generate
109110
.PHONY: generate-protobuf
110-

0 commit comments

Comments
 (0)