Skip to content

Update Cargo.toml

Update Cargo.toml #5

Workflow file for this run

name: build
on: push
jobs:
codestyle:
runs-on: ubuntu-latest
steps:
- name: Set up Rust
uses: hecrj/setup-rust-action@v1
with:
components: rustfmt
rust-version: stable
- uses: actions/checkout@v2
- run: cargo fmt --all -- --check
lint:
runs-on: ubuntu-latest
steps:
- name: Set up Rust
uses: hecrj/setup-rust-action@v1
with:
components: clippy
- run: sudo apt-get install protobuf-compiler
- uses: actions/checkout@v2
- run: cargo clippy --all-targets --all-features -- -D clippy::all
compile:
runs-on: ubuntu-latest
steps:
- name: Set up Rust
uses: hecrj/setup-rust-action@v1
- run: sudo apt-get install protobuf-compiler
- uses: actions/checkout@v2
- run: cargo check --all