diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index b01a1e2..3fceb35 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -7,13 +7,26 @@ on: name: CI jobs: - check: - name: Check + lint-rust: + name: Lint Rust runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@stable - - run: cargo check + with: + components: clippy + - name: Clippy + env: + RUSTFLAGS: -D warnings + run: cargo clippy --workspace + - name: Clippy (all features) + env: + RUSTFLAGS: -D warnings + run: cargo clippy --workspace --all-features + - name: Check documentation + env: + RUSTDOCFLAGS: -D warnings + run: cargo doc --workspace --all-features --no-deps --document-private-items test: name: Test Suite diff --git a/src/lib.rs b/src/lib.rs index 897c7a6..b967d18 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -41,7 +41,7 @@ pub struct Project { pub requires_python: Option, /// License pub license: Option, - /// License Files (PEP 639) - https://peps.python.org/pep-0639/#add-license-files-key + /// License Files (PEP 639) - pub license_files: Option, /// The people or organizations considered to be the "authors" of the project pub authors: Option>,