Skip to content

Commit

Permalink
Update go version
Browse files Browse the repository at this point in the history
  • Loading branch information
workingloong committed Sep 13, 2022
1 parent eca4ba5 commit 5ad6b2a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion docker/ci.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ COPY docker/scripts/install-protobuf.bash /
RUN /install-protobuf.bash && rm /install-protobuf.bash

# Install Pre-commit
RUN pip install pre-commit pytest
RUN pip install pre-commit pytest -i https://mirrors.aliyun.com/pypi/simple/
12 changes: 6 additions & 6 deletions docker/scripts/install-go.bash
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ curl --silent "$GO_MIRROR_URL"/go1.19.1.linux-amd64.tar.gz | \
go env -w GO111MODULE=on
go env -w GOPROXY=https://goproxy.io,direct

go get github.com/golang/protobuf/protoc-gen-go@v1.3.2 > /dev/null
go get golang.org/x/lint/golint > /dev/null
go get golang.org/x/tools/cmd/goyacc > /dev/null
go get golang.org/x/tools/cmd/cover > /dev/null
go get github.com/mattn/goveralls > /dev/null
go get github.com/rakyll/gotest > /dev/null
go install github.com/golang/protobuf/protoc-gen-go@latest > /dev/null
go install golang.org/x/lint/golint@latest > /dev/null
go install golang.org/x/tools/cmd/goyacc@latest > /dev/null
go install golang.org/x/tools/cmd/cover@latest > /dev/null
go install github.com/mattn/goveralls@latest > /dev/null
go install github.com/rakyll/gotest@latest > /dev/null

cp "$GOPATH"/bin/* /usr/local/bin/

0 comments on commit 5ad6b2a

Please sign in to comment.