Skip to content

Commit

Permalink
chore: source Rust environment in setup action for toolchain info
Browse files Browse the repository at this point in the history
  • Loading branch information
itsyaasir committed Nov 25, 2024
1 parent e3330bf commit 43070b8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/actions/rust/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 43070b8

Please sign in to comment.