ci: install pcap for build
This commit is contained in:
parent
76c0f47832
commit
5e15fd6dd9
|
@ -23,6 +23,9 @@ jobs:
|
|||
with:
|
||||
go-version: 'stable'
|
||||
|
||||
- name: Install pcap
|
||||
run: sudo apt install -y libpcap-dev
|
||||
|
||||
- run: go vet ./...
|
||||
|
||||
- name: staticcheck
|
||||
|
|
|
@ -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 }}
|
||||
|
|
Loading…
Reference in New Issue