Skip to content

Commit

Permalink
build(.github/actions): change rust setup strategy
Browse files Browse the repository at this point in the history
Signed-off-by: Diogo Aurelio <[email protected]>
  • Loading branch information
diogoaurelio committed Jan 17, 2025
1 parent c3f7bd0 commit d3cdc75
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/actions/prepare-environment/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,11 @@ runs:
git
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
shell: bash
run: |
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
export PATH="$HOME/.cargo/bin:$PATH"
echo "$HOME/.cargo/bin:$PATH" >> $GITHUB_PATH
- name: Setup rust fmt
shell: bash
Expand Down

0 comments on commit d3cdc75

Please sign in to comment.