Skip to content

Add cargo fmt --check job to contracts CI #136

Description

@codebestia

Add a dedicated fmt job to .github/workflows/contracts-ci.yml that runs cargo fmt --all -- --check across all packages in the workspace. No caching needed. Run cargo fmt --all locally and commit changes before merging so the baseline is clean.

Acceptance criteria:

  • A PR with unformatted Rust code in any contract fails the fmt job
  • The fmt job completes in under 30 seconds
  • Existing code passes the check on merge

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions