Skip to content

Commit 0ec01dd

Browse files
banoolperryjrandall
authored andcommitted
Lock Rust deps for checking protos
1 parent 1381c93 commit 0ec01dd

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

protos/scripts/install_deps.sh

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,14 @@
44
# The TS plugins are pulled automatically since we depend on them directly from
55
# the buf.build community plugin registry.
66

7+
set -e
8+
set -x
9+
710
# For generating Rust code
8-
cargo install --version 0.2.3 protoc-gen-prost
9-
cargo install --version 0.2.3 protoc-gen-prost-serde
10-
cargo install --version 0.3.1 protoc-gen-prost-crate
11-
cargo install --version 0.3.0 protoc-gen-tonic
11+
cargo install --locked --version 0.2.3 protoc-gen-prost
12+
cargo install --locked --version 0.2.3 protoc-gen-prost-serde
13+
cargo install --locked --version 0.3.1 protoc-gen-prost-crate
14+
cargo install --locked --version 0.3.0 protoc-gen-tonic
1215

1316
# For generating Python code
1417
cd python

0 commit comments

Comments
 (0)