Use workflows for model spawning #931
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
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 |