Skip to content

Commit ce70271

Browse files
committed
ci: pin latest protoc
Signed-off-by: Ettore Di Giacinto <[email protected]>
1 parent 13cfa6d commit ce70271

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

.github/workflows/release.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
id: build
5959
run: |
6060
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
61-
go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
61+
go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.34.0
6262
export PATH=$PATH:$GOPATH/bin
6363
export PATH=/usr/local/cuda/bin:$PATH
6464
GO_TAGS=p2p make dist
@@ -89,7 +89,7 @@ jobs:
8989
sudo apt-get update
9090
sudo apt-get install -y --no-install-recommends libopencv-dev protobuf-compiler ccache
9191
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
92-
go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
92+
go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.34.0
9393
- name: Build stablediffusion
9494
run: |
9595
export PATH=$PATH:$GOPATH/bin
@@ -123,7 +123,7 @@ jobs:
123123
run: |
124124
brew install protobuf grpc
125125
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
126-
go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
126+
go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.34.0
127127
- name: Build
128128
id: build
129129
run: |

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ jobs:
9393
sudo apt-get install -y cuda-nvcc-${CUDA_VERSION} libcublas-dev-${CUDA_VERSION}
9494
export CUDACXX=/usr/local/cuda/bin/nvcc
9595
96-
go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
96+
go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.34.0
9797
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
9898
9999
# The python3-grpc-tools package in 22.04 is too old

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ RUN curl -L -s https://go.dev/dl/go${GO_VERSION}.linux-${TARGETARCH}.tar.gz | ta
3333
ENV PATH $PATH:/root/go/bin:/usr/local/go/bin
3434

3535
# Install grpc compilers
36-
RUN go install google.golang.org/protobuf/cmd/protoc-gen-go@latest && \
36+
RUN go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.34.0 && \
3737
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
3838

3939
COPY --chmod=644 custom-ca-certs/* /usr/local/share/ca-certificates/

docs/content/docs/getting-started/build.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ apt install cmake golang libgrpc-dev make protobuf-compiler-grpc python3-grpc-to
5555
After you have golang installed and working, you can install the required binaries for compiling the golang protobuf components via the following commands
5656

5757
```bash
58-
go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
58+
go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.34.0
5959
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
6060

6161
```

0 commit comments

Comments
 (0)