Skip to content

fix: improve JSON parsing reliability (#11) #95

fix: improve JSON parsing reliability (#11)

fix: improve JSON parsing reliability (#11) #95

Workflow file for this run

name: Format
on:
push:
branches:
- main
pull_request:
jobs:
fmt:
runs-on: ubuntu-latest
container:
image: rust:latest
steps:
- uses: actions/checkout@v4
- name: Setup Rust cache
uses: Swatinem/rust-cache@v2
with:
shared-key: "cmt-fmt"
cache-on-failure: true
- name: Install rustfmt
run: rustup component add rustfmt
- name: Check formatting with rustfmt
run: cargo fmt --all -- --check || (echo "Formatting errors found. Please run 'cargo fmt' locally and commit the changes." && exit 1)