mirror of
https://github.com/evilsocket/opensnitch.git
synced 2025-03-04 08:34:40 +01:00
github action fix
This commit is contained in:
parent
484be33b08
commit
9b0f400c5e
1 changed files with 9 additions and 9 deletions
18
.github/workflows/go.yml
vendored
18
.github/workflows/go.yml
vendored
|
@ -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 .
|
||||
|
|
Loading…
Add table
Reference in a new issue