ci(release): Migrate to cargo-dist and overhaul CI #289
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: cli_regression | |
| on: | |
| pull_request: | |
| workflow_dispatch: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.head_ref || github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| submodules: recursive | |
| - uses: dtolnay/rust-toolchain@stable | |
| with: | |
| toolchain: stable | |
| - name: Run CLI Regression | |
| run: cargo test --all-features --test cli_regression -- --ignored | |
| env: | |
| BENDER_TEST_GOLDEN_BRANCH: ${{ github.base_ref }} | |
| test-windows: | |
| runs-on: windows-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| submodules: recursive | |
| - uses: dtolnay/rust-toolchain@stable | |
| with: | |
| toolchain: stable | |
| - name: Run CLI Regression | |
| run: cargo test --all-features --test cli_regression -- --ignored | |
| env: | |
| BENDER_TEST_GOLDEN_BRANCH: ${{ github.base_ref }} | |
| test-macos: | |
| runs-on: macos-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| submodules: recursive | |
| - uses: dtolnay/rust-toolchain@stable | |
| with: | |
| toolchain: stable | |
| - name: Run CLI Regression | |
| run: cargo test --all-features --test cli_regression -- --ignored | |
| env: | |
| BENDER_TEST_GOLDEN_BRANCH: ${{ github.base_ref }} |