docs: add api reference guide #43
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Quality Check Server | |
on: | |
workflow_dispatch: | |
pull_request: | |
paths-ignore: | |
- "docs/**" | |
- "clients/**" | |
- "dashboard/**" | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- "docs/**" | |
- "clients/**" | |
- "dashboard/**" | |
jobs: | |
ci: | |
name: Test & Check Code Quality | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
- name: Install Rust Toolchain | |
uses: dtolnay/rust-toolchain@stable | |
with: | |
components: rustfmt, clippy | |
- name: Install Protobuf Compiler | |
run: | | |
sudo apt update && sudo apt upgrade -y | |
sudo apt install -y protobuf-compiler libprotobuf-dev | |
- name: Run Formatter | |
run: cargo fmt -- --check | |
- name: Run Linter | |
run: cargo clippy -- -D warnings | |
- name: Run Tests | |
run: cargo test -- --test-threads 1 |