This repository has been archived by the owner on Jul 16, 2024. It is now read-only.
nft: dispatch per IP+port, not just IP #1119
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Unit Tests | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
test: | |
name: run unit tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v3 | |
- name: Setup Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version-file: go.work | |
- name: Install dependencies | |
run: | | |
go version | |
go install golang.org/x/lint/golint@latest | |
sudo apt-get install -y libnl-3-dev libnl-genl-3-dev | |
- name: checkout | |
uses: actions/checkout@v3 | |
- name: run unit tests | |
run: ./hack/test_unit.sh |