Skip to content

Commit

Permalink
ci: Check for documentation warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
caspermeijn committed May 27, 2024
1 parent 3aeecdb commit dd9c933
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
- rustfmt
- toml_validation
- clippy
- docs
- machete
- unused_dependencies
- test
Expand Down Expand Up @@ -68,6 +69,25 @@ jobs:
components: clippy
- run: cargo clippy --workspace --exclude protobuf --all-features --tests -- -D warnings

docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: 'recursive'
- name: install protoc
uses: taiki-e/install-action@v2
with:
tool: protoc@${{ env.PROTOC_VERSION }}
- name: install ninja
uses: ./.github/actions/setup-ninja
- uses: dtolnay/rust-toolchain@stable
- name: "doc --lib --all-features"
run: |
cargo doc --lib --no-deps --all-features --document-private-items
env:
RUSTDOCFLAGS: -Dwarnings

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

0 comments on commit dd9c933

Please sign in to comment.