diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index ff457b80..5458f988 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -29,14 +29,20 @@ jobs: steps: - name: Checkout uses: actions/checkout@v3 + + - name: Install Rust + uses: actions-rust-lang/setup-rust-toolchain@v1 + with: + toolchain: nightly-2023-07-21 - name: Setup Pages uses: actions/configure-pages@v3 + - name: Install mdbook - run: cargo install mdbook + run: cargo +nightly install mdbook - name: Generate rust docs run: | echo "Generating docs..." - cargo doc --no-deps + cargo +nightly doc --no-deps - name: Make index.html run: echo ' diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index bdcadb5e..67154c52 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -44,13 +44,14 @@ jobs: steps: - name: Checkout sources uses: actions/checkout@v3 - - name: Get latest version of stable Rust - run: rustup update stable + + - name: Install Rust + uses: actions-rust-lang/setup-rust-toolchain@v1 + with: + toolchain: nightly-2023-07-21 - name: Install target run: rustup target add ${{ matrix.arch }} - - uses: Swatinem/rust-cache@v2 - with: - cache-on-failure: false + - name: Run cargo clean run: cargo clean