diff --git a/.github/workflows/build_and_tests_reusable.yaml b/.github/workflows/build_and_tests_reusable.yaml index 9677f1a1..ae206ce7 100644 --- a/.github/workflows/build_and_tests_reusable.yaml +++ b/.github/workflows/build_and_tests_reusable.yaml @@ -51,9 +51,6 @@ jobs: -A clippy::type_complexity shell: bash - - name: doc - run: cargo doc --workspace --all-features --no-deps - - name: tests if: matrix.os != 'windows-latest' run: cargo test --release --all --all-features -- --skip keyring @@ -62,6 +59,9 @@ jobs: if: matrix.os != 'windows-latest' run: cargo bench --workspace --all-targets --all-features -- --skip keyring + - name: doc + run: cargo doc --workspace --all-features --no-deps + - name: test package if: matrix.os == 'ubuntu-latest' run: | @@ -96,11 +96,6 @@ jobs: -A clippy::type_complexity shell: bash - - name: java-bridge doc - run: | - cd java-bridge - cargo doc --workspace --all-features --no-deps - - name: java-bridge tests if: matrix.os != 'windows-latest' run: | @@ -112,3 +107,8 @@ jobs: run: | cd java-bridge cargo bench --workspace --all-targets --all-features + + - name: java-bridge doc + run: | + cd java-bridge + cargo doc --workspace --all-features --no-deps