From 178f5fda05fc952eb6736c847b56172cbb727631 Mon Sep 17 00:00:00 2001 From: daxpedda Date: Thu, 4 Jan 2024 13:59:31 +0100 Subject: [PATCH] Test all docs.rs deployments (#3356) --- .github/workflows/ci.yml | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8223ffacb9..57dad0da45 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,17 +17,6 @@ jobs: - name: Check Formatting run: cargo fmt -- --check - docsrs: - name: Check building on docs.rs - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: dtolnay/rust-toolchain@nightly - - name: Check Formatting - run: cargo doc --no-deps --features=rwh_04,rwh_05,rwh_06,serde,mint,android-native-activity - env: - RUSTDOCFLAGS: '--cfg=docsrs --deny=warnings' - tests: name: Test ${{ matrix.toolchain }} ${{ matrix.platform.name }} runs-on: ${{ matrix.platform.os }} @@ -162,6 +151,12 @@ jobs: matrix.toolchain != '1.70.0' run: cargo $CMD test $OPTIONS --features serde + - name: Check docs.rs documentation + if: matrix.toolchain == 'nightly' + run: cargo doc --no-deps --features=rwh_04,rwh_05,rwh_06,serde,mint,android-native-activity + env: + RUSTDOCFLAGS: '--cfg=docsrs --deny=warnings' + # See restore step above - name: Save cache of cargo folder uses: actions/cache/save@v3