Message Generator: fix serialization and add into_static for serde_sv2 primitives, broken unit tests, new unit test for NMJ message, #3638
Workflow file for this run
This file contains 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
on: | |
push: | |
branches: | |
- main | |
- dev | |
pull_request: | |
branches: | |
- main | |
- dev | |
name: Rustfmt | |
jobs: | |
fmt: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: | |
- macos-latest | |
- ubuntu-latest | |
include: | |
- os: macos-latest | |
target: x86_64-apple-darwin | |
- os: ubuntu-latest | |
target: x86_64-unknown-linux-musl | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: nightly | |
override: true | |
components: rustfmt | |
- name: Run fmt in different workspaces and crates | |
run: | | |
cargo fmt --all --manifest-path=benches/Cargo.toml -- --check | |
cargo fmt --all --manifest-path=common/Cargo.toml -- --check | |
cargo fmt --all --manifest-path=protocols/Cargo.toml -- --check | |
cargo fmt --all --manifest-path=roles/Cargo.toml -- --check | |
cargo fmt --all --manifest-path=utils/Cargo.toml -- --check | |
cargo fmt --all --manifest-path=utils/message-generator/Cargo.toml -- --check |