ci: install pcap for build

This commit is contained in:
Toby 2024-05-07 23:12:24 -07:00
parent 76c0f47832
commit 5e15fd6dd9
2 changed files with 6 additions and 0 deletions

View File

@ -23,6 +23,9 @@ jobs:
with:
go-version: 'stable'
- name: Install pcap
run: sudo apt install -y libpcap-dev
- run: go vet ./...
- name: staticcheck

View File

@ -24,6 +24,9 @@ jobs:
with:
go-version: "1.22"
- name: Install pcap
run: sudo apt install -y libpcap-dev
- name: Build
env:
GOOS: ${{ matrix.goos }}