ci: drop nightly test checks, add bisect-ability #287
Workflow file for this run
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
| --- | |
| # rust-psbt CI | |
| # | |
| # CI job and task structure is optimized for developer debugging. Not runner | |
| # minutes or parallelism. | |
| on: # yamllint disable-line rule:truthy | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| name: Continuous Integration | |
| jobs: | |
| Test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| toolchain: [stable, msrv] | |
| dep: [minimal, recent] | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 # Context required for bisectability tests. | |
| persist-credentials: false | |
| - uses: rust-bitcoin/rust-bitcoin-maintainer-tools/.github/actions/setup-rbmt@78cffbebab414c3209c1617650b750935e4d0fe1 | |
| - name: "Run tests" | |
| run: cargo rbmt --lock-file ${{ matrix.dep }} test --toolchain ${{ matrix.toolchain }} --baseline ${{ github.event.pull_request.base.sha || github.event.before }} | |
| Check: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| command: [lint, api, docs, docsrs, integration, "fmt --check"] | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: rust-bitcoin/rust-bitcoin-maintainer-tools/.github/actions/setup-rbmt@78cffbebab414c3209c1617650b750935e4d0fe1 | |
| - name: "Run ${{ matrix.command }}" | |
| run: cargo rbmt ${{ matrix.command }} |