fix broken docs.rs
#3
Workflow file for this run
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: Docs.rs | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| push: | |
| branches: | |
| - main | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| docs-rs: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Install capnp dependencies | |
| run: sudo apt-get install -y capnproto libcapnp-dev | |
| - name: Install Rust nightly | |
| uses: dtolnay/rust-toolchain@nightly | |
| - name: Install cargo-docs-rs | |
| uses: dtolnay/install@cargo-docs-rs | |
| - name: Check stratum-apps docs | |
| run: ./scripts/docs-rs-check.sh stratum-apps/Cargo.toml | |
| - name: Check pool_sv2 docs | |
| run: ./scripts/docs-rs-check.sh pool-apps/pool/Cargo.toml | |
| - name: Check jd_server_sv2 docs | |
| run: ./scripts/docs-rs-check.sh pool-apps/jd-server/Cargo.toml | |
| - name: Check jd_client_sv2 docs | |
| run: ./scripts/docs-rs-check.sh miner-apps/jd-client/Cargo.toml | |
| - name: Check translator_sv2 docs | |
| run: ./scripts/docs-rs-check.sh miner-apps/translator/Cargo.toml | |
| - name: Check integration_tests_sv2 docs | |
| run: ./scripts/docs-rs-check.sh integration-tests/Cargo.toml | |
| - name: Check bitcoin_core_sv2 docs | |
| run: ./scripts/docs-rs-check.sh bitcoin-core-sv2/Cargo.toml |