Skip to content

chore: Add biome, prettier & rustfmt, run formatting & tests in the CI #1

chore: Add biome, prettier & rustfmt, run formatting & tests in the CI

chore: Add biome, prettier & rustfmt, run formatting & tests in the CI #1

Workflow file for this run

name: Rust Format Check
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
rustfmt:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
components: rustfmt
- name: Run rustfmt
run: cargo fmt -- --check