Repository navigation
Repair orphaned MBQL 5 aggregation refs in ->legacy-mbql #41154
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: Serialization | |
| on: | |
| push: | |
| branches: | |
| - 'master' | |
| pull_request: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.head_ref && github.ref || github.run_id }} | |
| cancel-in-progress: true | |
| jobs: | |
| files-changed: | |
| name: Check which files changed | |
| runs-on: ${{ vars.SLIM_RUNNER_KEY }} | |
| timeout-minutes: 3 | |
| outputs: | |
| serialization_baseline: ${{ steps.changes.outputs.serialization_baseline }} | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - name: Test which files changed | |
| uses: dorny/paths-filter@fbd0ab8f3e69293af611ebaee6363fc25e6d187d # v4.0.1 | |
| id: changes | |
| with: | |
| token: ${{ github.token }} | |
| filters: .github/file-paths.yaml | |
| validate-serialization-baseline: | |
| needs: files-changed | |
| if: needs.files-changed.outputs.serialization_baseline == 'true' | |
| runs-on: ${{ vars.DEFAULT_RUNNER_KEY }} | |
| timeout-minutes: 10 | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - name: Prepare front-end environment | |
| uses: ./.github/actions/prepare-frontend | |
| - name: Validate serialization baseline schema | |
| run: bunx @metabase/representations validate-schema --folder test_resources/serialization_baseline |