Skip to content

Commit

Permalink
chore: update buf to 1.39.0 and update buf.yaml file
Browse files Browse the repository at this point in the history
Signed-off-by: D4ryl00 <d4ryl00@gmail.com>
  • Loading branch information
D4ryl00 committed Sep 13, 2024
1 parent 46a5dbe commit affc039
Show file tree
Hide file tree
Showing 6 changed files with 48 additions and 45 deletions.
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ jq 1.6
# This is simply the most recent buf version available to date.
# There is no contraindication for updating it.
#-----
buf 1.36.0
buf 1.39.0
24 changes: 12 additions & 12 deletions buf.gen.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
version: v1
version: v2
plugins:
- name: go
out: ./
opt: module=berty.tech/weshnet
- plugin: go-grpc
out: ./
opt: module=berty.tech/weshnet
- plugin: grpc-gateway
out: ./
opt:
- module=berty.tech/weshnet
- generate_unbound_methods=true
- local: protoc-gen-go
out: ./
opt: module=berty.tech/weshnet
- local: protoc-gen-go-grpc
out: ./
opt: module=berty.tech/weshnet
- local: protoc-gen-grpc-gateway
out: ./
opt:
- module=berty.tech/weshnet
- generate_unbound_methods=true
20 changes: 10 additions & 10 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ require (
github.com/dgraph-io/badger/v2 v2.2007.3
github.com/gofrs/uuid v4.3.1+incompatible
github.com/golang/protobuf v1.5.4
github.com/grpc-ecosystem/go-grpc-middleware v1.3.0
github.com/grpc-ecosystem/go-grpc-middleware v1.4.0
github.com/grpc-ecosystem/grpc-gateway v1.16.0
github.com/hyperledger/aries-framework-go v0.1.9-0.20221202141134-083803ecf0a3
github.com/ipfs/go-cid v0.4.1
Expand Down Expand Up @@ -47,13 +47,13 @@ require (
go.uber.org/goleak v1.3.0
go.uber.org/multierr v1.11.0
go.uber.org/zap v1.27.0
golang.org/x/crypto v0.23.0
golang.org/x/tools v0.21.0
golang.org/x/crypto v0.24.0
golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d
golang.org/x/xerrors v0.0.0-20231012003039-104605ab7028
google.golang.org/grpc v1.64.0
google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.3.0
google.golang.org/grpc v1.65.0
google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.5.1
google.golang.org/grpc/examples v0.0.0-20200922230038-4e932bbcb079
google.golang.org/protobuf v1.34.1
google.golang.org/protobuf v1.34.2
moul.io/openfiles v1.2.0
moul.io/srand v1.6.1
moul.io/testman v1.5.0
Expand Down Expand Up @@ -118,7 +118,7 @@ require (
github.com/go-task/slim-sprig/v3 v3.0.0 // indirect
github.com/godbus/dbus/v5 v5.1.0 // indirect
github.com/gogo/protobuf v1.3.2 // indirect
github.com/golang/glog v1.2.0 // indirect
github.com/golang/glog v1.2.1 // indirect
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
github.com/golang/snappy v0.0.4 // indirect
github.com/google/go-cmp v0.6.0 // indirect
Expand Down Expand Up @@ -298,11 +298,11 @@ require (
go4.org v0.0.0-20230225012048-214862532bf5 // indirect
golang.org/x/exp v0.0.0-20240506185415-9bf2ced13842 // indirect
golang.org/x/mod v0.17.0 // indirect
golang.org/x/net v0.25.0 // indirect
golang.org/x/net v0.26.0 // indirect
golang.org/x/oauth2 v0.20.0 // indirect
golang.org/x/sync v0.7.0 // indirect
golang.org/x/sys v0.20.0 // indirect
golang.org/x/text v0.15.0 // indirect
golang.org/x/sys v0.21.0 // indirect
golang.org/x/text v0.16.0 // indirect
gonum.org/v1/gonum v0.15.0 // indirect
google.golang.org/genproto v0.0.0-20221202195650-67e5cbc046fd // indirect
gopkg.in/square/go-jose.v2 v2.6.0 // indirect
Expand Down
43 changes: 23 additions & 20 deletions go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion internal/tools/tools.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
// required by Makefile
_ "github.com/daixiang0/gci"
// required by protoc
_ "github.com/golang/protobuf/proto"
_ "google.golang.org/protobuf/proto"
// required by protoc
_ "github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway"
// required by protoc
Expand Down
2 changes: 1 addition & 1 deletion tool/docker-protoc/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
IMAGE ?= bertytech/buf
VERSION ?= 4
VERSION ?= 5

build:
cd ../../ && docker build -f ./tool/docker-protoc/Dockerfile -t $(IMAGE):$(VERSION) -t $(IMAGE):latest .
Expand Down

0 comments on commit affc039

Please sign in to comment.