mirror of
https://github.com/apernet/OpenGFW.git
synced 2025-01-30 08:31:47 +08:00
ci: install pcap for build
This commit is contained in:
parent
76c0f47832
commit
5e15fd6dd9
3
.github/workflows/check.yaml
vendored
3
.github/workflows/check.yaml
vendored
@ -23,6 +23,9 @@ jobs:
|
||||
with:
|
||||
go-version: 'stable'
|
||||
|
||||
- name: Install pcap
|
||||
run: sudo apt install -y libpcap-dev
|
||||
|
||||
- run: go vet ./...
|
||||
|
||||
- name: staticcheck
|
||||
|
3
.github/workflows/release.yaml
vendored
3
.github/workflows/release.yaml
vendored
@ -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…
x
Reference in New Issue
Block a user