Website: add RPC API documentation with CI validation #1783
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: Format | |
| on: | |
| push: | |
| branches: [ main, develop ] | |
| pull_request: | |
| jobs: | |
| format: | |
| name: Format using nightly | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Setup Rust | |
| uses: ./.github/actions/setup-rust | |
| with: | |
| # This should be in line with the verison in: | |
| # - Makefile | |
| # - ./github/workflows/docs.yaml | |
| # - ./github/workflows/fmt.yaml | |
| # - ./github/workflows/lint.yaml | |
| toolchain: nightly | |
| components: rustfmt | |
| cache-prefix: format-nightly-v0 | |
| - uses: taiki-e/install-action@v2 | |
| with: | |
| tool: taplo | |
| - name: rustfmt | |
| run: make check-format |