Merge pull request #356 from themighty1/upstreammaster

github action fix
This commit is contained in:
Gustavo Iñiguez Goia 2021-02-23 16:26:32 +01:00 committed by GitHub
commit fab5d97cd8
Failed to generate hash of commit

View file

@ -18,19 +18,19 @@ jobs:
- name: Get dependencies
run: |
go get -v -t -d ./...
if [ -f Gopkg.toml ]; then
curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
dep ensure
fi
sudo apt-get install git libnetfilter-queue-dev libmnl-dev libpcap-dev protobuf-compiler
- name: Build
run: |
export GOPATH=~/go
export PATH=$PATH:$GOPATH/bin
go get github.com/golang/protobuf/protoc-gen-go
cd proto
make ../daemon/ui/protocol/ui.pb.go
cd ../daemon
go get -v -t -d ./...
if [ -f Gopkg.toml ]; then
curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
dep ensure
fi
- name: Build
run: |
cd daemon
go build -v .