fix: delete broken task-dump examples and fix CI to catch example failures #496
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Check docs.rs | |
| on: | |
| pull_request: | |
| merge_group: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| check-docs: | |
| runs-on: ubuntu-latest | |
| if: ${{ !startsWith(github.head_ref, 'release-') && !startsWith(github.ref_name, 'release-') }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: dtolnay/rust-toolchain@nightly | |
| with: | |
| components: rust-docs | |
| - uses: Swatinem/rust-cache@v2 | |
| - name: Install jq | |
| run: sudo apt-get update && sudo apt-get install -y jq | |
| - name: Install cargo-docs-rs | |
| run: cargo install cargo-docs-rs | |
| - name: Check docs.rs builds | |
| run: ./scripts/check-docsrs.sh |