diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5f9cc8b7a15..8223ffacb98 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,6 +17,17 @@ 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 }}