Skip to content

docs: update readme doc #3

docs: update readme doc

docs: update readme doc #3

Workflow file for this run

name: Format and Test
on:
pull_request:
branches:
- "releases/**"
push:
branches:
- main
workflow_dispatch: {}
jobs:
check:
name: Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- name: Install protoc
run: sudo apt-get update && sudo apt-get install -y protobuf-compiler
- run: cargo check
fmt:
name: Rustfmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- run: rustup component add rustfmt
- run: cargo fmt
# - run: cargo fmt --all -- --check
clippy:
name: Clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- name: Install protoc
run: sudo apt-get update && sudo apt-get install -y protobuf-compiler
- run: rustup component add clippy
- run: cargo clippy -- -W warnings
test:
name: Test Suite
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- name: Install protoc
run: sudo apt-get update && sudo apt-get install -y protobuf-compiler
- run: cargo test