From d83ed92a848f7cf4e5cc37c09f503fc7b83e9f0a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C5=ABdolfs=20O=C5=A1i=C5=86=C5=A1?= Date: Tue, 13 Oct 2026 11:21:40 +0200 Subject: [PATCH] Remove Rust docs from CI They aren't useful to us, and building them is the slowest step. We did the same for desktop. --- .buildkite/rust.yml | 14 ++------------ .github/workflows/check-rust.yml | 14 -------------- .ryph/environment.md | 1 - 3 files changed, 2 insertions(+), 27 deletions(-) diff --git a/.buildkite/rust.yml b/.buildkite/rust.yml index 2c70b8953..d61dce5d7 100644 --- a/.buildkite/rust.yml +++ b/.buildkite/rust.yml @@ -1,8 +1,8 @@ # CI for the Rust workspace (crates/radicle-httpd, crates/radicle-search). # -# Each step gets its own named cache volume. Clippy, test, and doc each produce a +# Each step gets its own named cache volume. Clippy and test each produce a # different target directory, and a shared volume would let whichever step -# commits last discard the other two, forcing a near-full rebuild every build. +# commits last discard the other, forcing a near-full rebuild every build. # # These steps run on the agent rather than in a container, so ~-rooted cache # paths work. The toolchain version is not pinned here: rustup reads @@ -54,16 +54,6 @@ steps: - cargo test --workspace --all-features - cargo test -p radicle-httpd - - label: "📚 doc" - key: doc - timeout_in_minutes: 30 - cache: - name: rust-doc - paths: *cargo_cache - commands: - - *install_rust - - RUSTDOCFLAGS="-D warnings" cargo doc --workspace --all-features - - label: "🦀 lint" key: lint timeout_in_minutes: 30 diff --git a/.github/workflows/check-rust.yml b/.github/workflows/check-rust.yml index a46040e1c..a1f18786a 100644 --- a/.github/workflows/check-rust.yml +++ b/.github/workflows/check-rust.yml @@ -25,20 +25,6 @@ jobs: - name: Test httpd without search run: cargo test -p radicle-httpd - docs: - name: Docs - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v6 - - uses: dtolnay/rust-toolchain@1.97.1 - - uses: Swatinem/rust-cache@v2 - with: - workspaces: ". -> target" - - name: Docs - run: cargo doc --workspace --all-features - env: - RUSTDOCFLAGS: -D warnings - lint: name: Lint runs-on: ubuntu-latest diff --git a/.ryph/environment.md b/.ryph/environment.md index 94fd85d71..67cccf26c 100644 --- a/.ryph/environment.md +++ b/.ryph/environment.md @@ -43,7 +43,6 @@ RUSTFLAGS="-D warnings" cargo clippy -p radicle-httpd --no-default-features --te cargo fmt --all -- --check cargo test --workspace --all-features cargo test -p radicle-httpd -RUSTDOCFLAGS="-D warnings" cargo doc --workspace --all-features npm run test:e2e -- --project chromium ```