Skip to content

set taret IP in garp reply #117

set taret IP in garp reply

set taret IP in garp reply #117

Workflow file for this run

name: Build and Test
on: [push, pull_request]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-18.04]
go: [1.19, 1.18]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go }}
- name: Install Dependencies
run: |
sudo apt-get install libnl-3-dev libnl-genl-3-dev
PROTOC_VER=3.7.1
PROTOC_ZIP=protoc-${PROTOC_VER}-linux-x86_64.zip
curl -LO https://github.com/protocolbuffers/protobuf/releases/download/v${PROTOC_VER}/${PROTOC_ZIP}
sudo unzip ${PROTOC_ZIP} -d /usr/local
rm ${PROTOC_ZIP}
- name: Protobuf
run: |
make proto
git status --porcelain
git diff --exit-code
- name: Build
run: |
go build ./...
- name: Test
run: |
go test -cover -race ./...