Skip to content

Commit 645b80c

Browse files
committed
Add version checks for installed tools in CI workflow
This commit augments the CI workflow with additional echo statements to print the versions of rustc, cargo, protoc, and cargo-lambda. This helps in verifying the correct installation and version of these tools during the CI process.
1 parent 358f3f9 commit 645b80c

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

.github/workflows/rust.yml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,23 +24,35 @@ jobs:
2424
# uses: dtolnay/rust-toolchain@stable
2525
- name: Check Rust version
2626
run: |
27+
echo "Installed rustc version:"
2728
rustc --version
29+
echo "Installed cargo version:"
2830
cargo --version
2931
3032
- name: Install Just
3133
uses: extractions/setup-just@v1
3234
with:
3335
just-version: 1.5.0
3436

37+
- name: Check Just version
38+
run: |
39+
echo "Installed just version:"
40+
just --version
41+
3542
- name: Install protoc
43+
uses: taiki-e/install-action@v2
44+
with:
45+
tool: protoc@3.28.0
46+
47+
- name: Check protoc version
3648
run: |
37-
sudo apt-get update
38-
sudo apt-get install -y protobuf-compiler
49+
echo "Installed protoc version:"
3950
protoc --version
4051
4152
- name: Install Cargo Lambda
4253
run: |
4354
pip3 install cargo-lambda
55+
echo "Installed cargo lambda version:"
4456
cargo lambda --version
4557
4658
- name: Clean with lambdas

0 commit comments

Comments
 (0)