Skip to content

Commit

Permalink
CI: move doc job to workspace level (#1489)
Browse files Browse the repository at this point in the history
This should fix the error we're encountering in #1487, and at the same
time also check all crates have valid documentation, rather than just
`elliptic-curve` and `signature`.
  • Loading branch information
tarcieri authored Jan 27, 2024
1 parent 3e13141 commit 1568df8
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 20 deletions.
9 changes: 0 additions & 9 deletions .github/workflows/elliptic-curve.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,12 +89,3 @@ jobs:
- run: cargo test --no-default-features
- run: cargo test
- run: cargo test --all-features

doc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
- run: cargo doc --all-features
9 changes: 0 additions & 9 deletions .github/workflows/signature.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,12 +80,3 @@ jobs:
toolchain: ${{ matrix.rust }}
- run: cargo test --release
working-directory: signature_derive

doc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
- run: cargo doc --all-features
11 changes: 9 additions & 2 deletions .github/workflows/workspace.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,11 @@ on:
paths-ignore:
- '**/README.md'
- '**/CHANGELOG.md'
- .github/**
push:
branches: master
paths-ignore:
- '**/README.md'
- '**/CHANGELOG.md'
- .github/**

env:
CARGO_INCREMENTAL: 0
Expand All @@ -30,6 +28,15 @@ jobs:
components: clippy
- run: cargo clippy --all --all-features --tests -- -D warnings

doc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
- run: cargo doc --all-features

rustfmt:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 1568df8

Please sign in to comment.