Skip to content

Update links to config.json to use the /rpc/ configs. #208

Update links to config.json to use the /rpc/ configs.

Update links to config.json to use the /rpc/ configs. #208

Workflow file for this run

name: Rust checks
on:
pull_request:
branches: [main]
push:
branches: [main]
env:
CARGO_TERM_COLOR: always
jobs:
check-format-and-lint:
name: Check & Lint
runs-on: ubuntu-22.04-8core
steps:
- uses: actions/checkout@v2
- name: Install Rust toolchain
run: |
rustup update stable
rustup default stable
rustup component add rustfmt clippy
- name: Check code formatting
run: cargo fmt --all -- --check
- name: Lint with clippy
run: cargo clippy -- -D warnings
cargo-check:
name: Cargo Check
runs-on: ubuntu-22.04-8core
steps:
- uses: actions/checkout@v2
- name: Install Rust toolchain
run: |
rustup update stable
rustup default stable
- uses: actions/cache@v2
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Cargo Check
run: cargo check --all