Skip to content

Commit b234b95

Browse files
committed
ci: add step to install protoc in runner
Signed-off-by: Sanskar Jaiswal <[email protected]>
1 parent 1974151 commit b234b95

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

.github/workflows/build.yaml

+6-8
Original file line numberDiff line numberDiff line change
@@ -14,43 +14,41 @@ on:
1414
jobs:
1515
rust-build:
1616
runs-on: ubuntu-latest
17-
1817
steps:
1918
- uses: actions/checkout@v4
20-
2119
- uses: actions-rs/toolchain@v1
2220
with:
2321
toolchain: stable
2422
override: true
25-
2623
- uses: actions-rs/toolchain@v1
2724
with:
2825
toolchain: nightly
2926
components: rust-src, clippy, rustfmt
3027
override: false
31-
3228
- name: Install bpf-linker
3329
run: |
3430
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 }}
3536

3637
# TODO: Once we migrate the controller from Go to Rust,
3738
# add the controller build step here.
38-
3939
- name: Build all rust crates (dataplane, test server)
4040
run: |
4141
make build
42-
4342
- name: Check formatting
4443
run: |
4544
make check.format
46-
4745
- name: Check clippy
4846
run: |
4947
make lint
50-
5148
- name: Run Tests
5249
run: |
5350
make test
51+
5452
docker-build:
5553
name: docker-build
5654
runs-on: ubuntu-22.04

0 commit comments

Comments
 (0)