File tree 11 files changed +1185
-481
lines changed
11 files changed +1185
-481
lines changed Original file line number Diff line number Diff line change @@ -2,13 +2,11 @@ version: 2
2
2
3
3
jobs :
4
4
test :
5
- working_directory : /go/src/github.com/uw-labs/proximo
6
5
docker :
7
- - image : circleci/golang:1.13
8
- environment :
9
- GO111MODULE : " on"
6
+ - image : circleci/golang:1
10
7
steps :
11
8
- checkout
9
+ - run : make protos && git add --all && git diff --staged --exit-code
12
10
- run : go test -v -race -cover ./...
13
11
- run : go build -o ./bin/server ./cmd/proximo-server
14
12
- run : go build -o ./bin/client ./cmd/proximo-client
Original file line number Diff line number Diff line change
1
+
2
+ install-tools :
3
+ go install \
4
+ google.golang.org/protobuf/cmd/protoc-gen-go \
5
+ google.golang.org/grpc/cmd/protoc-gen-go-grpc \
6
+ github.com/bufbuild/buf/cmd/buf
7
+
8
+ protos : install-tools
9
+ rm -rf gen && buf generate --config buf.yaml --template buf.gen.yaml
10
+ go mod tidy
Original file line number Diff line number Diff line change
1
+ version : v1beta1
2
+ plugins :
3
+ - name : go
4
+ out : proto
5
+ opt : paths=source_relative
6
+ - name : go-grpc
7
+ out : proto
8
+ opt :
9
+ - paths=source_relative
10
+ - require_unimplemented_servers=false
Original file line number Diff line number Diff line change
1
+ version : v1beta1
2
+ name : buf.build/uw-labs/proximo
3
+ build :
4
+ roots :
5
+ - proto
6
+ breaking :
7
+ use :
8
+ - FILE
Original file line number Diff line number Diff line change @@ -3,17 +3,18 @@ module github.com/uw-labs/proximo
3
3
go 1.12
4
4
5
5
require (
6
- github.com/golang/protobuf v1.3.2
6
+ github.com/bufbuild/buf v0.44.0
7
7
github.com/grpc-ecosystem/go-grpc-middleware v1.2.0
8
8
github.com/jawher/mow.cli v1.1.0
9
9
github.com/nats-io/stan.go v0.5.0
10
10
github.com/pkg/errors v0.9.1
11
- github.com/stretchr/testify v1.4 .0
11
+ github.com/stretchr/testify v1.7 .0
12
12
github.com/urfave/cli v1.22.2
13
13
github.com/uw-labs/substrate v0.0.0-20200423155849-5805738940ec
14
14
github.com/uw-labs/sync v0.0.0-20190307114256-1bb306bf6e71
15
- golang.org/x/crypto v0.0.0-20200210222208-86ce3cb69678
16
- golang.org/x/net v0.0.0-20200202094626-16171245cfb2
17
- google.golang.org/grpc v1.27.0
18
- gopkg.in/yaml.v2 v2.2.8
15
+ golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9
16
+ google.golang.org/grpc v1.40.0-dev.0.20210623211556-d9eb12feed7a
17
+ google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.1.0
18
+ google.golang.org/protobuf v1.27.1
19
+ gopkg.in/yaml.v2 v2.4.0
19
20
)
Load Diff Large diffs are not rendered by default.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments