Skip to content

Commit ee6d2e3

Browse files
committedFeb 29, 2024
fix: use buf 1.29.0
1 parent e424ec7 commit ee6d2e3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed
 

‎Makefile

+4-4
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ endif
154154

155155
proto-gen: check-proto-deps
156156
@echo "Generating Protobuf files"
157-
@go run github.com/bufbuild/buf/cmd/buf generate
157+
@go run github.com/bufbuild/buf/cmd/buf@v1.29.0 generate
158158
@mv ./proto/tendermint/abci/types.pb.go ./abci/types/
159159
@cp ./proto/tendermint/rpc/grpc/types.pb.go ./rpc/grpc
160160
.PHONY: proto-gen
@@ -163,7 +163,7 @@ proto-gen: check-proto-deps
163163
# execution only.
164164
proto-lint: check-proto-deps
165165
@echo "Linting Protobuf files"
166-
@go run github.com/bufbuild/buf/cmd/buf lint
166+
@go run github.com/bufbuild/buf/cmd/buf@v1.29.0 lint
167167
.PHONY: proto-lint
168168

169169
proto-format: check-proto-format-deps
@@ -176,11 +176,11 @@ proto-check-breaking: check-proto-deps
176176
@echo "Note: This is only useful if your changes have not yet been committed."
177177
@echo " Otherwise read up on buf's \"breaking\" command usage:"
178178
@echo " https://docs.buf.build/breaking/usage"
179-
@go run github.com/bufbuild/buf/cmd/buf breaking --against ".git"
179+
@go run github.com/bufbuild/buf/cmd/buf@v1.29.0 breaking --against ".git"
180180
.PHONY: proto-check-breaking
181181

182182
proto-check-breaking-ci:
183-
@go run github.com/bufbuild/buf/cmd/buf breaking --against $(HTTPS_GIT)#branch=v0.34.x-celestia
183+
@go run github.com/bufbuild/buf/cmd/buf@v1.29.0 breaking --against $(HTTPS_GIT)#branch=v0.34.x-celestia
184184
.PHONY: proto-check-breaking-ci
185185

186186
###############################################################################

0 commit comments

Comments
 (0)
Please sign in to comment.