Skip to content

Commit

Permalink
Update action.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
valentinmadrid authored Mar 8, 2024
1 parent 6b98b9d commit c4f8a94
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/actions/setup-rust/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,17 @@ description: "Setup Rust toolchain"
runs:
using: "composite"
steps:
- name: Install Rust toolchain
- name: Cache Rust toolchain
id: rust-toolchain-cache
uses: actions/cache@v3
with:
path: ~/.rustup
key: rust-toolchain-${{ runner.os }}-${{ hashFiles('rust-toolchain') }}

- if: ${{ steps.rust-toolchain-cache.outputs.cache-hit != 'true' }}
name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: 1.75.0
toolchain: stable
components: rustfmt, clippy

0 comments on commit c4f8a94

Please sign in to comment.