From a55b37cf2c34a2460fb2d4591cfc3b2e7ed5f310 Mon Sep 17 00:00:00 2001 From: Brandon Williams Date: Thu, 22 Feb 2024 10:00:59 -0600 Subject: [PATCH] m --- .github/workflows/ci.yml | 21 +++++++++++++++------ .github/workflows/rustdoc.yml | 2 +- 2 files changed, 16 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 441f5519d..408fd9351 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,13 +25,22 @@ jobs: rustc --version cargo --version - - name: Lint - run: | - cargo fmt -- --check - cargo clippy --all-features --all-targets + - uses: taiki-e/install-action@cargo-hack + + - name: feature compatibility + run: cargo hack check --feature-powerset --no-dev-deps + + - name: rustfmt + run: cargo fmt -- --check + + - name: clippy + run: cargo clippy --all-features --all-targets - # - name: Build Documentation - # run: cargo doc --no-deps + - name: rustdoc + env: + RUSTDOCFLAGS: "--cfg=doc_cfg -Zunstable-options --generate-link-to-definition" + RUSTC_BOOTSTRAP: 1 + run: cargo doc --all-features --no-deps - name: Run tests run: cargo test --all-features diff --git a/.github/workflows/rustdoc.yml b/.github/workflows/rustdoc.yml index dea55c2f1..cfd6f58f7 100644 --- a/.github/workflows/rustdoc.yml +++ b/.github/workflows/rustdoc.yml @@ -18,7 +18,7 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 - - name: Build Documentation + - name: rustdoc env: RUSTDOCFLAGS: "--cfg=doc_cfg -Zunstable-options --generate-link-to-definition" RUSTC_BOOTSTRAP: 1