File tree Expand file tree Collapse file tree 3 files changed +42
-2
lines changed Expand file tree Collapse file tree 3 files changed +42
-2
lines changed Original file line number Diff line number Diff line change
1
+ version : 2
2
+ updates :
3
+ - package-ecosystem : gomod
4
+ directory : /
5
+ open-pull-requests-limit : 10
6
+ schedule :
7
+ interval : monthly
Original file line number Diff line number Diff line change
1
+ name : Test
2
+
3
+ on :
4
+ workflow_dispatch :
5
+ push :
6
+ branches : [ "master", "dev" ]
7
+ pull_request :
8
+ branches : [ "master", "dev" ]
9
+
10
+ permissions :
11
+ contents : read
12
+
13
+ jobs :
14
+
15
+ build :
16
+ runs-on : ubuntu-latest
17
+ steps :
18
+ - uses : actions/checkout@v4
19
+
20
+ - name : Set up Go
21
+ uses : actions/setup-go@v4
22
+ with :
23
+ go-version : ' 1.21'
24
+
25
+ - name : Set up deps
26
+ run : |
27
+ sudo apt-get install -y gcc flex bison make
28
+
29
+ - name : Build
30
+ run : make build
31
+
32
+ - name : Test
33
+ run : go test -v ./...
34
+
Original file line number Diff line number Diff line change @@ -32,8 +32,7 @@ ifeq ($(wildcard $@), )
32
32
$(GIT) submodule update --init --recursive
33
33
endif
34
34
35
- $(LIBPCAP_DIST_DIR ) : $(OUTPUT )
36
- mkdir -p $(LIBPCAP_DIST_DIR )
35
+ $(LIBPCAP_DIST_DIR ) : $(LIBPCAP_SRC )
37
36
38
37
$(OUTPUT ) :
39
38
mkdir -p $(OUTPUT )
You can’t perform that action at this time.
0 commit comments