Fix build issues for rate limiting #169
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 Validation Pipeline | |
| on: | |
| push: | |
| branches: [ main, feat/docs-pipeline-42 ] | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| validate-docs: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install Rust | |
| uses: dtolnay/rust-toolchain@stable | |
| with: | |
| components: rustfmt | |
| targets: wasm32-unknown-unknown | |
| - name: Cache cargo | |
| uses: Swatinem/rust-cache@v2 | |
| # 1. Link checking system (Temporarily disabled) | |
| # - name: Lychee Link Checker | |
| # uses: lycheeverse/[email protected] | |
| # with: | |
| # args: --config lychee.toml "./**/*.md" | |
| # fail: true | |
| # 2. Validate code examples (per workspace member) | |
| - name: Verify Code Snippets (teachlink) | |
| run: cargo test --doc -p teachlink-contract | |
| - name: Verify Code Snippets (governance) | |
| run: cargo test --doc -p governance-contract | |
| - name: Verify Code Snippets (insurance) | |
| run: cargo test --doc -p enhanced-insurance |