Skip to content

Commit 33ba3d9

Browse files
committed
add protovalidate for go and web
1 parent f63e58d commit 33ba3d9

File tree

5 files changed

+5
-3
lines changed

5 files changed

+5
-3
lines changed

protoc-go/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ ENV PROTOC_GEN_DOC_VERSION 1.5.1
77
ENV PROTOC_GEN_GO_GRPC_VERSION 1.4.0
88
ENV PROTOC_GEN_GO_VTPROTO_VERSION 0.6.0
99
ENV PROTOC_GEN_GRPC_GATEWAY_VERSION 2.20.0
10+
ENV PROTOVALIDATE_GO_VERSION 0.8.4
1011

1112
# install dependencies and build/install Go
1213
ADD . /src

protoc-go/build.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,4 @@ go install github.com/SafetyCulture/protoc-gen-ratelimit/cmd/protoc-gen-ratelimi
1313
go install github.com/SafetyCulture/protoc-gen-workato/cmd/protoc-gen-workato@latest
1414
go install github.com/SafetyCulture/s12-proto/protobuf/protoc-gen-govalidator@v${S12_PROTO_VERSION}
1515
go install github.com/SafetyCulture/s12-proto/protobuf/protoc-gen-s12perm@v${S12_PROTO_VERSION}
16+
go install github.com/bufbuild/protovalidate-go/cmd/protoc-gen-go-protovalidate@v${PROTOVALIDATE_GO_VERSION}

protoc-go/version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.25.6
1+
3.25.7

protoc-node/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ LABEL maintainer="SafetyCulture <info@safetyculture.io>"
33

44
RUN apk add --no-cache npm
55

6-
RUN npm install -g ts-protoc-gen @bufbuild/protoc-gen-es @bufbuild/protoc-gen-connect-es
6+
RUN npm install -g ts-protoc-gen @bufbuild/protoc-gen-es @bufbuild/protoc-gen-connect-es @bufbuild/protoc-gen-es-protovalidate

protoc-node/version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.6.2
1+
2.6.3

0 commit comments

Comments
 (0)