Skip to content

Commit dd61fc5

Browse files
bjoernricksgreenbonebot
authored andcommitted
Add: Print the used rustc version in setup-rust
Allow to debug issues if compilation fails for some unknown reasons.
1 parent c1c5ae6 commit dd61fc5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

setup-rust/action.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ runs:
2323
- name: Set up Rust
2424
run: rustup update ${{ inputs.rust-version }} && rustup default ${{ inputs.rust-version }} || rustup default ${{ inputs.rust-version }}
2525
shell: bash
26+
- name: Print Rust compiler version
27+
run: rustc --version
28+
shell: bash
2629
- name: Ensure linting and formatting tools are installed
2730
run: rustup component add rustfmt clippy
2831
shell: bash

0 commit comments

Comments
 (0)