Skip to content

Commit 746c6f4

Browse files
committed
build: add protoc for datafusion-substrait
1 parent 4156bf9 commit 746c6f4

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ jobs:
5252
- name: Check toml format
5353
run: make check-toml
5454

55+
- name: Install protoc
56+
uses: arduino/setup-protoc@v3
57+
5558
- name: Cargo format
5659
run: make check-fmt
5760

@@ -81,6 +84,9 @@ jobs:
8184
- name: Cache Rust artifacts
8285
uses: Swatinem/rust-cache@v2
8386

87+
- name: Install protoc
88+
uses: arduino/setup-protoc@v3
89+
8490
- name: Build
8591
run: make build
8692

@@ -145,6 +151,9 @@ jobs:
145151
- uses: actions/checkout@v5
146152
- name: Setup Nightly Rust toolchain
147153
uses: ./.github/actions/setup-builder
154+
- name: Install protoc
155+
run: sudo apt update && sudo apt install -y protobuf-compiler
156+
148157
- name: Generate minimal versions lockfile
149158
run: |
150159
cargo generate-lockfile -Z direct-minimal-versions -Z minimal-versions

.github/workflows/website.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,10 @@ jobs:
4040
- name: Setup mdBook
4141
uses: peaceiris/actions-mdbook@v2
4242
with:
43-
mdbook-version: '0.4.36'
43+
mdbook-version: "0.4.36"
44+
45+
- name: Install protoc
46+
run: sudo apt update && sudo apt install -y protobuf-compiler
4447

4548
- name: Build
4649
working-directory: website

0 commit comments

Comments
 (0)