Skip to content

v0.1.0: ready to replace existing substrate subcommand (#6) #55

v0.1.0: ready to replace existing substrate subcommand (#6)

v0.1.0: ready to replace existing substrate subcommand (#6) #55

Workflow file for this run

name: Rust checks
on:
pull_request:
push:
branches:
- main
concurrency:
group: ${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: true
jobs:
rust-checks:
runs-on: ubuntu-20.04
steps:
- name: Checkout source code
uses: actions/checkout@v3
- name: Install Protoc
uses: arduino/setup-protoc@v1
with:
version: "3.6.1"
- name: Install clippy and fmt
run: rustup component add clippy rustfmt
- name: Add wasm32-unknown-unknown target
run: rustup target add wasm32-unknown-unknown
- name: Run Format Checks
uses: actions-rs/cargo@v1
with:
command: fmt
args: --all
- name: Clippy
uses: actions-rs/cargo@v1
with:
command: clippy
args: --all-targets -- --no-deps -D warnings