CI: Replace `actions-rs/toolchain` with `dtolnay/rust-toolchain`
Now that dtolnay/rust-toolchain#53 has been closed, we can migrate away from the unmaintained actions-rs/toolchain.
This commit is contained in:
parent
6027f52e8e
commit
aca56b5d5a
|
@ -10,10 +10,9 @@ jobs:
|
|||
runs-on: ubuntu-18.04
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: nightly
|
||||
override: true
|
||||
- uses: dtolnay/rust-toolchain@nightly
|
||||
id: toolchain
|
||||
- run: rustup override set ${{steps.toolchain.outputs.name}}
|
||||
|
||||
- name: Build latest rustdocs
|
||||
run: cargo doc --no-deps --workspace --all-features
|
||||
|
|
|
@ -83,11 +83,9 @@ jobs:
|
|||
continue-on-error: true
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: beta
|
||||
components: clippy
|
||||
override: true
|
||||
- uses: dtolnay/rust-toolchain@beta
|
||||
id: toolchain
|
||||
- run: rustup override set ${{steps.toolchain.outputs.name}}
|
||||
- name: Run Clippy (beta)
|
||||
uses: actions-rs/clippy-check@v1
|
||||
continue-on-error: true
|
||||
|
|
Loading…
Reference in New Issue