Skip to content

banking_stage: fix BAM tip refresh and simplify scheduler plumbing #161

banking_stage: fix BAM tip refresh and simplify scheduler plumbing

banking_stage: fix BAM tip refresh and simplify scheduler plumbing #161

name: Conformance Dispatch
on:
pull_request:
branches:
- master
- v[0-9]+.[0-9]+
paths:
- "**.rs"
- "**/Cargo.toml"
- "Cargo.lock"
- ".github/workflows/conformance-dispatch.yml"
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
cancel-in-progress: true
jobs:
detect:
name: detect affected fixture sets
if: github.repository_owner == 'anza-xyz'
runs-on: ubuntu-24.04
outputs:
entries: ${{ steps.table.outputs.entries }}
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Setup Rust
shell: bash
run: |
source ci/rust-version.sh stable
rustup default "$rust_stable"
- id: table
name: Build conformance table
shell: bash
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PR_NUMBER: ${{ github.event.pull_request.number }}
run: |
entries=$(cargo run --quiet --manifest-path ci/xtask/Cargo.toml -- \
conformance-table --pr-number "$PR_NUMBER")
echo "entries=$entries" >> "$GITHUB_OUTPUT"
run:
name: "stub: ${{ matrix.entry.harness }}"
needs: detect
if: needs.detect.outputs.entries != '[]'
runs-on: ubuntu-24.04
strategy:
matrix:
entry: ${{ fromJSON(needs.detect.outputs.entries) }}
steps:
- name: Log (stub)
env:
HARNESS: ${{ matrix.entry.harness }}
FIXTURES_DIR: ${{ matrix.entry.fixtures_dir }}
run: |
echo "stub: would run harness '$HARNESS' on fixtures '$FIXTURES_DIR'"
echo "No fixtures downloaded or executed yet."