Skip to content

Commit

Permalink
add docs-rs tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Ken Johnson committed Jun 18, 2024
1 parent 43a31b3 commit 68ddd8d
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,19 @@ jobs:
- uses: actions-rs/audit-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
doc:
name: Documentation
runs-on: ubuntu-latest
env:
RUSTDOCFLAGS: -Dwarnings
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
- uses: dtolnay/install
with:
crate: cargo-docs-rs
- run: cargo docs-rs

check:
name: check and run tests
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ license = "MIT OR Apache-2.0"
keywords = ["cpe"]
description = "CPE 2.2 and 2.3 handling in Rust"
repository = "https://github.com/johnso51/cpe-rs"
documentation = "https://docs.rs/cpe"
rust-version = "1.65"

[dependencies]
Expand Down

0 comments on commit 68ddd8d

Please sign in to comment.