Skip to content

ci: add build and test workflow for Rust CI #15

ci: add build and test workflow for Rust CI

ci: add build and test workflow for Rust CI #15

Workflow file for this run

name: Format Check
on:
push:
pull_request:
jobs:
rustfmt:
name: Rustfmt Check
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt
- name: Check formatting
run: cargo fmt --all -- --check