Skip to content

Commit

Permalink
build: merge docs/rustdoc and rust/doc jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
coriolinus committed Dec 20, 2024
1 parent 5cb5e4b commit 18f9921
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 16 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,11 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1 # this implicitly caches Rust tools and build artifacts
with:
rustflags: ''

- name: Build Rust documentation
run: cargo doc --all --no-deps
rustflags: '-D warnings -W unreachable-pub'
- run: cargo doc --all --no-deps

- uses: actions/upload-artifact@v4.5.0
with:
Expand Down
9 changes: 0 additions & 9 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,6 @@ env:
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse

jobs:
doc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1 # this implicitly caches Rust tools and build artifacts
with:
rustflags: '-D warnings -W unreachable-pub'
- run: cargo doc --all --no-deps

check:
runs-on: ubuntu-latest
strategy:
Expand Down

0 comments on commit 18f9921

Please sign in to comment.