File tree 1 file changed +6
-8
lines changed
1 file changed +6
-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
+ repo-token : ${{ secrets.GITHUB_TOKEN }}
35
36
36
37
# TODO: Once we migrate the controller from Go to Rust,
37
38
# add the controller build step here.
38
-
39
39
- name : Build all rust crates (dataplane, test server)
40
40
run : |
41
41
make build
42
-
43
42
- name : Check formatting
44
43
run : |
45
44
make check.format
46
-
47
45
- name : Check clippy
48
46
run : |
49
47
make lint
50
-
51
48
- name : Run Tests
52
49
run : |
53
50
make test
51
+
54
52
docker-build :
55
53
name : docker-build
56
54
runs-on : ubuntu-22.04
You can’t perform that action at this time.
0 commit comments