Skip to content
This repository has been archived by the owner on Nov 25, 2024. It is now read-only.

Commit

Permalink
fix(ci): re-enable cargo doc workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Rjected committed Mar 12, 2024
1 parent 9979d5d commit ef5823b
Showing 1 changed file with 14 additions and 15 deletions.
29 changes: 14 additions & 15 deletions .github/workflows/unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,21 +36,20 @@ jobs:
--workspace \
-E "kind(lib) | kind(bin) | kind(proc-macro)"
# TODO: uncomment when we have library a target
# doc:
# name: doc tests
# env:
# RUST_BACKTRACE: 1
# timeout-minutes: 30
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# - uses: dtolnay/rust-toolchain@stable
# - uses: Swatinem/rust-cache@v2
# with:
# cache-on-failure: true
# - name: Run doctests
# run: cargo test --doc --workspace
doc:
name: doc tests
env:
RUST_BACKTRACE: 1
timeout-minutes: 30
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
- name: Run doctests
run: cargo test --doc --workspace

unit-success:
name: unit success
Expand Down

0 comments on commit ef5823b

Please sign in to comment.