Merge rust-bitcoin/rust-bitcoin-maintainer-tools#44: cargo-rbmt: alwa… #2
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: CI | |
| on: | |
| push: | |
| branches: [ master ] | |
| pull_request: | |
| jobs: | |
| dogfood: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Install Rust toolchains | |
| uses: actions-rust-lang/setup-rust-toolchain@v1 | |
| with: | |
| toolchain: nightly,1.74.0,stable | |
| components: clippy,rustfmt | |
| - name: Install cargo-rbmt from current commit | |
| run: cargo install --locked --path cargo-rbmt | |
| - name: Run lint on workspace | |
| run: cargo +nightly rbmt --lock-file existing lint | |
| - name: Build documentation (stable) | |
| run: cargo rbmt --lock-file existing docs | |
| - name: Build documentation (docs.rs / nightly) | |
| run: cargo +nightly rbmt --lock-file existing docsrs | |
| - name: Run tests with stable | |
| run: cargo rbmt --lock-file existing test stable | |
| - name: Run tests with nightly | |
| run: cargo +nightly rbmt --lock-file existing test nightly | |
| - name: Run tests with MSRV | |
| run: cargo +1.74.0 rbmt --lock-file existing test msrv |