docs: generate RPC documentation #1243
This file contains 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
# Runs testing related jobs. | |
name: test | |
on: | |
push: | |
branches: [main, next] | |
pull_request: | |
types: [opened, reopened, synchronize] | |
# Limits workflow concurrency to only the latest commit in the PR. | |
concurrency: | |
group: "${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}" | |
cancel-in-progress: true | |
jobs: | |
test: | |
name: test | |
runs-on: ubuntu-latest | |
timeout-minutes: 30 | |
steps: | |
- uses: actions/checkout@main | |
- name: Rustup | |
run: rustup update --no-self-update | |
- uses: Swatinem/rust-cache@v2 | |
with: | |
save-if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/next' }} | |
- uses: taiki-e/install-action@nextest | |
- name: Run tests | |
run: make test |