File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : Go CI
2-
32on :
43 push :
5- branches : [ "main", "master" ]
4+ branches : ["main", "master"]
65 pull_request :
7- branches : [ "main", "master" ]
8-
6+ branches : ["main", "master"]
97jobs :
108 build :
119 runs-on : ubuntu-latest
1210 steps :
13- - uses : actions/checkout@v4
14-
15- - name : Set up Go
16- uses : actions/setup-go@v4
17- with :
18- go-version : ' 1.22 '
19-
20- - name : Install Dependencies
21- run : go mod download
22-
23- - name : Build
24- run : go build -v -o anongo ./cmd/anongo/main.go
25-
26- - name : Test
27- run : go test -v ./...
11+ - uses : actions/checkout@v4
12+ - name : Set up Go
13+ uses : actions/setup-go@v4
14+ with :
15+ go-version : ' 1.22 '
16+ - name : Install dependencies
17+ run : |
18+ sudo apt-get update
19+ sudo apt-get install -y libpcap-dev
20+ - name : Install Dependencies
21+ run : go mod download
22+ - name : Build
23+ run : go build -v -o anongo ./cmd/anongo/main.go
24+ - name : Test
25+ run : go test -v ./...
You can’t perform that action at this time.
0 commit comments