Skip to content

Commit dee02fe

Browse files
authored
chore(ci): pin protoc version (#2389)
Fixes: #2386 Interop tests are failing since the [protobuf codegen requires the same version as protoc](https://github.com/protocolbuffers/protobuf/blob/2ae8154f366a6d776bcc3ac931413bc4d99f578e/rust/release_crates/protobuf_codegen/src/lib.rs#L136-L148) to work. This PR pins the protoc version to fix the tests.
1 parent c6e42eb commit dee02fe

File tree

1 file changed

+15
-5
lines changed

1 file changed

+15
-5
lines changed

.github/workflows/CI.yml

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,9 @@ jobs:
8282
- uses: hecrj/setup-rust-action@v2
8383
with:
8484
components: clippy
85-
- uses: taiki-e/install-action@protoc
85+
- uses: taiki-e/install-action@v2
86+
with:
87+
tool: protoc@3.31.1
8688
- name: Restore protoc plugin from cache
8789
id: cache-plugin
8890
uses: actions/cache@v4
@@ -115,7 +117,9 @@ jobs:
115117
toolchain: nightly-2025-03-27
116118
- uses: taiki-e/install-action@cargo-hack
117119
- uses: taiki-e/install-action@cargo-udeps
118-
- uses: taiki-e/install-action@protoc
120+
- uses: taiki-e/install-action@v2
121+
with:
122+
tool: protoc@3.31.1
119123
- name: Restore protoc plugin from cache
120124
id: cache-plugin
121125
uses: actions/cache@v4
@@ -147,7 +151,9 @@ jobs:
147151
- uses: actions/checkout@v4
148152
- uses: hecrj/setup-rust-action@v2
149153
- uses: taiki-e/install-action@cargo-hack
150-
- uses: taiki-e/install-action@protoc
154+
- uses: taiki-e/install-action@v2
155+
with:
156+
tool: protoc@3.31.1
151157
- name: Restore protoc plugin from cache
152158
id: cache-plugin
153159
uses: actions/cache@v4
@@ -198,7 +204,9 @@ jobs:
198204
steps:
199205
- uses: actions/checkout@v4
200206
- uses: hecrj/setup-rust-action@v2
201-
- uses: taiki-e/install-action@protoc
207+
- uses: taiki-e/install-action@v2
208+
with:
209+
tool: protoc@3.31.1
202210
- name: Restore protoc plugin from cache
203211
id: cache-plugin
204212
uses: actions/cache@v4
@@ -235,7 +243,9 @@ jobs:
235243
steps:
236244
- uses: actions/checkout@v4
237245
- uses: hecrj/setup-rust-action@v2
238-
- uses: taiki-e/install-action@protoc
246+
- uses: taiki-e/install-action@v2
247+
with:
248+
tool: protoc@3.31.1
239249
- name: Restore protoc plugin from cache
240250
id: cache-plugin
241251
uses: actions/cache@v4

0 commit comments

Comments
 (0)