Skip to content

doc: demo video on readme #2

doc: demo video on readme

doc: demo video on readme #2

Workflow file for this run

name: Lint, Format and Check
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
lint-format-and-check:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Install Dependencies
run: |
sudo apt-get update
sudo apt-get install -y protobuf-compiler libprotobuf-dev
- name: Set up Rust
uses: moonrepo/setup-rust@v1
with:
components: rustfmt, clippy
- name: Check formatting with rustfmt
run: cargo fmt --all -- --check
- name: Run clippy for linting
run: cargo clippy --all-targets --all-features -- -D warnings
- name: Run cargo check
run: cargo check --all-targets --all-features