Remove Rust docs from CI

They aren't useful to us, and building them is the slowest step. We
did the same for desktop.
This commit is contained in:
Rūdolfs Ošiņš
2026-10-13 17:23:20 +02:00
parent 0442f85d56
commit d83ed92a84
3 changed files with 2 additions and 27 deletions
+2 -12
View File
@@ -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
-14
View File
@@ -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
-1
View File
@@ -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
```