Skip to content

refactor(read-rpc): Add header referer: read-rpc to near-jsonrpc-client #83

refactor(read-rpc): Add header referer: read-rpc to near-jsonrpc-client

refactor(read-rpc): Add header referer: read-rpc to near-jsonrpc-client #83

Workflow file for this run

name: Rust Checks
on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
check:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Rust
uses: actions-rs/toolchain@v1
- name: Cargo check
run: cargo check --all-features
fmt:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Rust
uses: actions-rs/toolchain@v1
with:
components: rustfmt
- name: Cargo fmt check
run: cargo fmt --all --check
clippy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Rust
uses: actions-rs/toolchain@v1
with:
components: clippy
- name: Cargo clippy
run: cargo clippy --all -- -D warnings