-
Notifications
You must be signed in to change notification settings - Fork 838
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
workflows: fix golangci-lint test failed.
include file can't found when used CGO. Running [/home/runner/golangci-lint-1.56.2-linux-amd64/golangci-lint run --out-format=github-actions --disable-all -E errcheck] in [] ... Error: could not import github.com/jschwinger233/elibpcap (-: # github.com/jschwinger233/elibpcap Error: ../../../go/pkg/mod/github.com/jschwinger233/elibpcap@v0.0.0-20231010035657-e99300096f5e/compile.go:15:10: fatal error: 'pcap.h' file not found #include <pcap.h> ^~~~~~~~ 1 error generated.) (typecheck) Error: issues found Ran golangci-lint in 7752ms Signed-off-by: CFC4N <cfc4n.cs@gmail.com>
- Loading branch information
Showing
1 changed file
with
6 additions
and
36 deletions.
There are no files selected for viewing
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