Skip to content

Implement a diagnostic tool #575

Implement a diagnostic tool

Implement a diagnostic tool #575

Workflow file for this run

name: style
on:
pull_request:
workflow_dispatch:
push:
branches: [main]
env:
CARGO_TERM_COLOR: always
jobs:
style:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: rustfmt
run: |
rustup component add rustfmt
- name: style
run: rustfmt --check --edition 2021 rmf_site_format/src/lib.rs rmf_site_editor/src/lib.rs rmf_site_editor/src/main.rs
- name: minimal feature build
run: cd rmf_site_format && cargo check --no-default-features