Update MCAP message support documentation #12605
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: Cargo Shear | |
| on: | |
| push: | |
| branches: | |
| - "main" | |
| pull_request: | |
| types: [opened, synchronize] | |
| jobs: | |
| cargo-shear: | |
| timeout-minutes: 60 | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Set up Rust | |
| uses: dtolnay/rust-toolchain@stable | |
| # The snippets crate has a build.rs that generates src/snippets/*.rs from all/*/*.rs. | |
| # Without this step, cargo-shear can't deduce requirements from the generated code. | |
| - name: Regenerate snippets | |
| run: | | |
| cargo check -p snippets | |
| - name: Install Cargo Shear | |
| uses: taiki-e/install-action@v2.48.7 | |
| with: | |
| tool: cargo-shear@1.5.0 | |
| - name: Run Cargo Shear | |
| run: | | |
| cargo shear |