SDK improvements #409
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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. |