Skip to content

feat: cargo fmt in ci #28

feat: cargo fmt in ci

feat: cargo fmt in ci #28

Workflow file for this run

name: ci
on:
push:
branches:
- main
pull_request:
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt
- uses: Swatinem/rust-cache@v2
- run: cargo fmt --all -- --check
- run: cargo test --locked --all-targets