From 43070b8598c64d8cfaec8eefe078cd82a8559d20 Mon Sep 17 00:00:00 2001 From: Yasir Date: Mon, 25 Nov 2024 15:34:07 +0300 Subject: [PATCH] chore: source Rust environment in setup action for toolchain info --- .github/actions/rust/setup/action.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/actions/rust/setup/action.yml b/.github/actions/rust/setup/action.yml index 371d4d3..7981b06 100644 --- a/.github/actions/rust/setup/action.yml +++ b/.github/actions/rust/setup/action.yml @@ -11,12 +11,14 @@ runs: apt-get install -y curl curl https://sh.rustup.rs -sSf | sh -s -- -y echo "$HOME/.cargo/bin" >> $GITHUB_PATH + source $HOME/.cargo/env rustup update rustup component add clippy - name: Toolchain info shell: bash run: | + source $HOME/.cargo/env cargo --version --verbose rustc --version cargo clippy --version