Merge pull request #775 from zcash/ci-replace-toolchain-actions
CI: Replace `actions-rs/toolchain` with `dtolnay/rust-toolchain`
This commit is contained in:
commit
64b380c525
|
@ -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