updated workflow compilation deps

google.golang.org/protobuf/cmd/protoc-gen-go@v1.34.2 generates
protobuffers incompatible with go1.17, it fails with the error:
"ui/protocol/ui.pb.go:2716:47: predeclared any requires go1.18 or later
(-lang was set to go1.17; check go.mod)"

Notes:
 - consider using go1.18 as min required version if there's no problem
   compiling the daemon on Debian <= 13 and other distros.
 - github.com/golang/protobuf is deprecated and we should get rid of
it.
This commit is contained in:
Gustavo Iñiguez Goia 2024-07-03 14:41:31 +02:00
parent f882cf428b
commit 86f0bea18d
Failed to generate hash of commit

View file

@ -32,7 +32,7 @@ jobs:
export GOPATH=~/go
export PATH=$PATH:$GOPATH/bin
go install github.com/golang/protobuf/protoc-gen-go@latest
go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.34.1
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.3.0
cd proto
make ../daemon/ui/protocol/ui.pb.go