From 4fa08c2fb672bf19e75a4afc6feceedada9cf15b Mon Sep 17 00:00:00 2001 From: Swanny Date: Tue, 27 Jan 2026 15:38:52 -0500 Subject: [PATCH 1/3] Update cargo doc commands to remove examples flag Removed '--examples' flag from cargo doc commands. --- .github/workflows/rust-base.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/rust-base.yml b/.github/workflows/rust-base.yml index 826136f..0aad825 100644 --- a/.github/workflows/rust-base.yml +++ b/.github/workflows/rust-base.yml @@ -171,10 +171,10 @@ jobs: env: RUSTDOCFLAGS: -D warnings CARGO_NET_GIT_FETCH_WITH_CLI: true - run: cargo doc --no-deps --document-private-items --all-features --workspace --examples --profile ${{ inputs.rust-profile }} --locked + run: cargo doc --no-deps --document-private-items --all-features --workspace --profile ${{ inputs.rust-profile }} --locked - if: ${{ inputs.require-lockfile == false }} name: Check documentation env: RUSTDOCFLAGS: -D warnings CARGO_NET_GIT_FETCH_WITH_CLI: true - run: cargo doc --no-deps --document-private-items --all-features --workspace --examples --profile ${{ inputs.rust-profile }} + run: cargo doc --no-deps --document-private-items --all-features --workspace --profile ${{ inputs.rust-profile }} From cadfae5a21aead10371433b09fb8de8dad84d93d Mon Sep 17 00:00:00 2001 From: Swanny Date: Tue, 27 Jan 2026 15:40:54 -0500 Subject: [PATCH 2/3] Update Clippy check commands in rust-base.yml Removed the '-D warnings' flag from Clippy checks in the workflow. --- .github/workflows/rust-base.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/rust-base.yml b/.github/workflows/rust-base.yml index 0aad825..389f66c 100644 --- a/.github/workflows/rust-base.yml +++ b/.github/workflows/rust-base.yml @@ -141,12 +141,12 @@ jobs: name: Clippy check env: CARGO_NET_GIT_FETCH_WITH_CLI: true - run: cargo clippy --all-targets --all-features --workspace --locked --profile ${{ inputs.rust-profile }} -- -D warnings + run: cargo clippy --all-targets --all-features --workspace --locked --profile ${{ inputs.rust-profile }} - if: ${{ inputs.require-lockfile == false }} name: Clippy check env: CARGO_NET_GIT_FETCH_WITH_CLI: true - run: cargo clippy --all-targets --all-features --workspace --profile ${{ inputs.rust-profile }} -- -D warnings + run: cargo clippy --all-targets --all-features --workspace --profile ${{ inputs.rust-profile }} docs: name: Docs From 4997287b16870959f859b4c131483a9cc2ac54cb Mon Sep 17 00:00:00 2001 From: James Date: Mon, 2 Feb 2026 13:37:18 -0500 Subject: [PATCH 3/3] Restore -D warnings flag to clippy commands Keep clippy consistent with docs job which uses RUSTDOCFLAGS: -D warnings. Also fixes a stray double space. Co-Authored-By: Claude Opus 4.5 --- .github/workflows/rust-base.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/rust-base.yml b/.github/workflows/rust-base.yml index 389f66c..5d23450 100644 --- a/.github/workflows/rust-base.yml +++ b/.github/workflows/rust-base.yml @@ -141,12 +141,12 @@ jobs: name: Clippy check env: CARGO_NET_GIT_FETCH_WITH_CLI: true - run: cargo clippy --all-targets --all-features --workspace --locked --profile ${{ inputs.rust-profile }} + run: cargo clippy --all-targets --all-features --workspace --locked --profile ${{ inputs.rust-profile }} -- -D warnings - if: ${{ inputs.require-lockfile == false }} name: Clippy check env: CARGO_NET_GIT_FETCH_WITH_CLI: true - run: cargo clippy --all-targets --all-features --workspace --profile ${{ inputs.rust-profile }} + run: cargo clippy --all-targets --all-features --workspace --profile ${{ inputs.rust-profile }} -- -D warnings docs: name: Docs