Skip to content

Cleanup io & protocol packages, move it out #62

Cleanup io & protocol packages, move it out

Cleanup io & protocol packages, move it out #62

Workflow file for this run

name: Static Analysis
on: [push]
jobs:
fmt:
runs-on: ubuntu-latest
steps:
- name: Checkout the source code
uses: actions/checkout@v2
- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
components: rustfmt
default: true
- name: Check format
uses: actions-rs/cargo@v1
with:
command: fmt
args: -- --check
clippy:
runs-on: ubuntu-latest
steps:
- name: Checkout the source code
uses: actions/checkout@v2
- name: Install deps
run: sudo apt-get -y install protobuf-compiler
- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
components: clippy
default: true
- name: Check lint suggestions
uses: actions-rs/cargo@v1
with:
command: clippy
args: -- -D warnings