Skip to content

Commit

Permalink
ci: replace unmaintained actions-rs/toolchain@v1
Browse files Browse the repository at this point in the history
  • Loading branch information
phip1611 committed Sep 21, 2023
1 parent 37b0956 commit d63e3f6
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/_build-rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,14 +62,15 @@ jobs:
steps:
- name: Check out
uses: actions/checkout@v4
- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ inputs.rust-version }}
override: true
components: clippy, rustfmt
target: ${{ inputs.rust-target }}
- name: Setup Rust toolchain
run: |
rustup toolchain install ${{ inputs.rust-version }} \
--profile minimal \
--component clippy rustfmt \
--target ${{ inputs.rust-target }} \
--no-self-update \
--force
rustup override set ${{ inputs.rust-version }}
- name: Set up cargo cache
uses: actions/cache@v3
continue-on-error: false
Expand Down

0 comments on commit d63e3f6

Please sign in to comment.