Skip to content

Commit e7c3188

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

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

.github/workflows/ci.yml

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

55+
- name: Install protoc
56+
uses: arduino/setup-protoc@v3
57+
with:
58+
repo-token: ${{ secrets.GITHUB_TOKEN }}
59+
5560
- name: Cargo format
5661
run: make check-fmt
5762

@@ -81,6 +86,11 @@ jobs:
8186
- name: Cache Rust artifacts
8287
uses: Swatinem/rust-cache@v2
8388

89+
- name: Install protoc
90+
uses: arduino/setup-protoc@v3
91+
with:
92+
repo-token: ${{ secrets.GITHUB_TOKEN }}
93+
8494
- name: Build
8595
run: make build
8696

@@ -145,6 +155,9 @@ jobs:
145155
- uses: actions/checkout@v5
146156
- name: Setup Nightly Rust toolchain
147157
uses: ./.github/actions/setup-builder
158+
- name: Install protoc
159+
run: sudo apt update && sudo apt install -y protobuf-compiler
160+
148161
- name: Generate minimal versions lockfile
149162
run: |
150163
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)