Skip to content

update rpc ops

update rpc ops #92

Workflow file for this run

name: ci
on:
pull_request:
push:
branches:
- main
jobs:
test:
name: "Cargo test"
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v3"
- uses: Swatinem/rust-cache@v2
- uses: "actions-rs/toolchain@v1"
with:
override: true
profile: "minimal"
toolchain: "stable"
- uses: "actions-rs/cargo@v1"
with:
command: "test"
fmt:
name: "Formatting"
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v3"
- uses: "actions-rs/toolchain@v1"
with:
override: true
profile: "minimal"
toolchain: "nightly"
- run: "rustup component add rustfmt"
- uses: "actions-rs/cargo@v1"
with:
command: "fmt"
args: "--all -- --check"
clippy:
name: "Clippy"
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v3"
- name: "Setup cmake"
uses: "jwlawson/[email protected]"
- uses: "actions-rs/toolchain@v1"
with:
override: true
profile: "minimal"
toolchain: "nightly"
- run: "rustup component add clippy"
- uses: "actions-rs/cargo@v1"
with:
command: "clippy"
args: "-- -D warnings"