Repository navigation
compatibility-matrix #48
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
| # Cross-repo compatibility matrix check. | |
| # Source of truth: .shared-templates/workflows/compatibility-test.yml.tmpl | |
| # See docs/compatibility.md for what this validates and why. | |
| name: compatibility-matrix | |
| on: | |
| push: | |
| branches: [main] | |
| paths: | |
| - "testdata/compatibility-matrix.json" | |
| - "testdata/compatibility-matrix.schema.json" | |
| schedule: | |
| - cron: "0 6 * * *" # nightly | |
| workflow_dispatch: {} | |
| permissions: | |
| contents: read | |
| jobs: | |
| validate: | |
| name: validate compatibility matrix | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - uses: ./.github/actions/checkout-eyrie | |
| with: | |
| ref: ${{ github.head_ref || github.ref_name }} | |
| allow_branch_fallback: "true" | |
| - name: Init hawk-mcpkit submodule | |
| run: | | |
| git submodule update --init external/hawk-mcpkit | |
| - uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0 | |
| with: | |
| go-version: "1.26.6" | |
| cache: true | |
| - name: Structural validation (schema + version pins) | |
| run: make compat-check | |
| - name: Report 'next' matrix | |
| run: make compat-test | |
| - name: Pin freshness vs external/ (advisory) | |
| run: make compat-drift | |
| continue-on-error: true |