diff --git a/.github/workflows/book.yml b/.github/workflows/book.yml index d1d39871a..f62273e55 100644 --- a/.github/workflows/book.yml +++ b/.github/workflows/book.yml @@ -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 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d6cbcf2bc..536f2eaf0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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