Skip to content

SDK improvements

SDK improvements #408

Workflow file for this run

name: Backend CI
on:
pull_request:
paths:
- 'backend/**'
- '.github/workflows/backend.yml'
push:
branches:
- main
paths:
- 'backend/**'
- '.github/workflows/backend.yml'
workflow_dispatch:
jobs:
check-backend-fmt:
name: "Check backend format with rustfmt"
runs-on: blacksmith-4vcpu-ubuntu-2404
steps:
- uses: actions/checkout@v4
- uses: actions-rust-lang/[email protected]
- name: Rustfmt Check Backend
run: |
cargo fmt --manifest-path backend/lib/Cargo.toml -- --check
cargo fmt --manifest-path backend/bin/Cargo.toml -- --check
# Note: Clippy check is handled by the main lint.yml workflow
# which runs clippy on the entire workspace from the root.
# This avoids issues with Substrate pallet dependencies.
# Note: Backend tests are handled by the main rust-tests.yml workflow
# which runs tests on the entire workspace from the root.
# This avoids issues with Substrate pallet dependencies.