File tree 1 file changed +5
-8
lines changed
1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change 14
14
jobs :
15
15
rust-build :
16
16
runs-on : ubuntu-latest
17
-
18
17
steps :
19
18
- uses : actions/checkout@v4
20
-
21
19
- uses : actions-rs/toolchain@v1
22
20
with :
23
21
toolchain : stable
24
22
override : true
25
-
26
23
- uses : actions-rs/toolchain@v1
27
24
with :
28
25
toolchain : nightly
29
26
components : rust-src, clippy, rustfmt
30
27
override : false
31
-
32
28
- name : Install bpf-linker
33
29
run : |
34
30
cargo install bpf-linker
31
+ - name : Install Protoc
32
+ uses : arduino/setup-protoc@v3
33
+ with :
34
+ version : " 26.1"
35
35
36
36
# TODO: Once we migrate the controller from Go to Rust,
37
37
# add the controller build step here.
38
-
39
38
- name : Build all rust crates (dataplane, test server)
40
39
run : |
41
40
make build
42
-
43
41
- name : Check formatting
44
42
run : |
45
43
make check.format
46
-
47
44
- name : Check clippy
48
45
run : |
49
46
make lint
50
-
51
47
- name : Run Tests
52
48
run : |
53
49
make test
50
+
54
51
docker-build :
55
52
name : docker-build
56
53
runs-on : ubuntu-22.04
You can’t perform that action at this time.
0 commit comments