File tree 2 files changed +45
-29
lines changed
2 files changed +45
-29
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ name : Go
2
+
3
+ on :
4
+ push :
5
+ branches : [ "master" ]
6
+ pull_request :
7
+ branches : [ "master" ]
8
+
9
+ jobs :
10
+
11
+ sources :
12
+ runs-on : ubuntu-latest
13
+ steps :
14
+ - uses : actions/checkout@v3
15
+
16
+ - name : Set up Go
17
+ uses : actions/setup-go@v4
18
+ with :
19
+ go-version : ' 1.21'
20
+ cache-dependency-path : go.sum
21
+
22
+ install-dependencies :
23
+ runs-on : ubuntu-latest
24
+ steps :
25
+ - name : Install pcap
26
+ run : sudo apt-get install -y libpcap0.8-dev
27
+
28
+ build :
29
+ runs-on : ubuntu-latest
30
+ needs :
31
+ - sources
32
+ - install-dependencies
33
+ steps :
34
+ - name : Build graffiti
35
+ run : cd graffiti && go build -v
36
+
37
+ - name : Build
38
+ run : go build -v
39
+
40
+ run :
41
+ runs-on : ubuntu-latest
42
+ needs : build
43
+ steps :
44
+ - name : Show version
45
+ run : ./skydive version
You can’t perform that action at this time.
0 commit comments