mirror of
https://github.com/evilsocket/opensnitch.git
synced 2025-03-04 08:34:40 +01:00
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:
parent
f882cf428b
commit
86f0bea18d
1 changed files with 1 additions and 1 deletions
2
.github/workflows/go.yml
vendored
2
.github/workflows/go.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue