From e585d1c56ca1e4157e88c33e7a99e894631041ec Mon Sep 17 00:00:00 2001 From: bit-aloo Date: Wed, 1 Jan 2025 18:10:30 +0530 Subject: [PATCH 1/3] add doc ci check --- .github/workflows/lint.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index dd04db10..d8402ce7 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -39,4 +39,10 @@ jobs: uses: taiki-e/install-action@cargo-hack - name: cargo hack - run: cargo hack --feature-powerset check \ No newline at end of file + run: cargo hack --feature-powerset check + + - name: Install cargo-docs-rs + uses: dtolnay/install@cargo-docs-rs + + - name: cargo docs-rs + run: cargo docs-rs \ No newline at end of file From 81618fe3e3e0718f01f1f7cef2bcc914a9e2f6ae Mon Sep 17 00:00:00 2001 From: bit-aloo Date: Wed, 1 Jan 2025 19:35:01 +0530 Subject: [PATCH 2/3] commented cargo hack --- .github/workflows/lint.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index d8402ce7..5067efc0 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -35,11 +35,11 @@ jobs: - name: Clippy run: cargo clippy --all-targets --all-features -- -D warnings - - name: cargo install cargo-hack - uses: taiki-e/install-action@cargo-hack + # - name: cargo install cargo-hack + # uses: taiki-e/install-action@cargo-hack - - name: cargo hack - run: cargo hack --feature-powerset check + # - name: cargo hack + # run: cargo hack --feature-powerset check - name: Install cargo-docs-rs uses: dtolnay/install@cargo-docs-rs From 3d37b421373d9fd41292e03382584ed00c36f05f Mon Sep 17 00:00:00 2001 From: bit-aloo Date: Thu, 2 Jan 2025 18:59:40 +0530 Subject: [PATCH 3/3] add nightly to doc-rs --- .github/workflows/lint.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 5067efc0..32a26100 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -45,4 +45,4 @@ jobs: uses: dtolnay/install@cargo-docs-rs - name: cargo docs-rs - run: cargo docs-rs \ No newline at end of file + run: cargo +nightly docs-rs \ No newline at end of file