Skip to content

Commit 43070b8

Browse files
committed
chore: source Rust environment in setup action for toolchain info
1 parent e3330bf commit 43070b8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/actions/rust/setup/action.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,14 @@ runs:
1111
apt-get install -y curl
1212
curl https://sh.rustup.rs -sSf | sh -s -- -y
1313
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
14+
source $HOME/.cargo/env
1415
rustup update
1516
rustup component add clippy
1617
1718
- name: Toolchain info
1819
shell: bash
1920
run: |
21+
source $HOME/.cargo/env
2022
cargo --version --verbose
2123
rustc --version
2224
cargo clippy --version

0 commit comments

Comments
 (0)