chore: sync openrpc.json and regenerate types #64
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: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| env: | |
| CARGO_TERM_COLOR: always | |
| RUSTFLAGS: "-D warnings" | |
| jobs: | |
| test: | |
| name: Test | |
| runs-on: warp-ubuntu-latest-x64-4x | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install Rust toolchain | |
| uses: dtolnay/rust-toolchain@stable | |
| - uses: Swatinem/rust-cache@v2 | |
| with: | |
| cache-provider: warpbuild | |
| shared-key: linux-test | |
| cache-all-crates: true | |
| - name: Run tests | |
| run: cargo test --all-features | |
| lint: | |
| name: Clippy and fmt | |
| runs-on: warp-ubuntu-latest-x64-4x | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install Rust toolchain | |
| uses: dtolnay/rust-toolchain@stable | |
| with: | |
| components: clippy, rustfmt | |
| - uses: Swatinem/rust-cache@v2 | |
| with: | |
| cache-provider: warpbuild | |
| shared-key: linux-lint | |
| cache-all-crates: true | |
| - name: Run clippy | |
| run: cargo clippy --all-features -- -D clippy::all | |
| - name: Run cargo fmt | |
| run: cargo fmt --check |