diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2bf46665ed..20a2209e36 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -348,9 +348,7 @@ jobs: uses: actions/configure-pages@v5 - name: Build Docs run: | - rustup target add wasm32-unknown-unknown --toolchain nightly-2024-08-01 - rustup component add rust-src --toolchain nightly-2024-08-01 - RUSTDOCFLAGS="--enable-index-page -Zunstable-options" cargo +nightly-2024-08-01 doc --no-deps --workspace --features frequency + RUSTC_BOOTSTRAP=1 RUSTDOCFLAGS="--enable-index-page -Zunstable-options" cargo doc --no-deps --workspace --features frequency - name: Fix file permissions shell: sh run: | diff --git a/.github/workflows/verify-pr-commit.yml b/.github/workflows/verify-pr-commit.yml index 7706a2c645..d033524b83 100644 --- a/.github/workflows/verify-pr-commit.yml +++ b/.github/workflows/verify-pr-commit.yml @@ -236,15 +236,9 @@ jobs: steps: - name: Check Out Repo uses: actions/checkout@v4 - - name: Install Nightly Toolchain - run: rustup toolchain install nightly-2024-08-01 - - name: Add Required Components - run: | - rustup target add wasm32-unknown-unknown --toolchain nightly-2024-08-01 - rustup component add rust-src --toolchain nightly-2024-08-01 - name: Build Docs run: | - RUSTDOCFLAGS="--enable-index-page --check -Zunstable-options" cargo +nightly-2024-08-01 doc --no-deps --features frequency + RUSTC_BOOTSTRAP=1 RUSTDOCFLAGS="--enable-index-page --check -Zunstable-options" cargo doc --no-deps --workspace --features frequency verify-rust-packages-and-deps: needs: changes diff --git a/Makefile b/Makefile index 5609e69c34..ce3fcbcfb3 100644 --- a/Makefile +++ b/Makefile @@ -196,7 +196,7 @@ benchmarks-capacity: .PHONY: docs docs: - RUSTC_BOOTSTRAP=1 RUSTDOCFLAGS="--enable-index-page -Zunstable-options" cargo doc --no-deps --features frequency + RUSTC_BOOTSTRAP=1 RUSTDOCFLAGS="--enable-index-page -Zunstable-options" cargo doc --no-deps --workspace --features frequency # Cleans unused docker resources and artifacts .PHONY: docs