PHPLIB-1798 Extract MQL definition into a submodule for builder generator #1329
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
| name: "Generator" | |
| on: | |
| merge_group: | |
| pull_request: | |
| branches: | |
| - "v*.*" | |
| - "feature/*" | |
| push: | |
| branches: | |
| - "v*.*" | |
| - "feature/*" | |
| env: | |
| PHP_VERSION: "8.2" | |
| DRIVER_VERSION: "stable" | |
| jobs: | |
| diff: | |
| name: "Diff check" | |
| runs-on: "ubuntu-24.04" | |
| steps: | |
| - name: "Checkout" | |
| uses: "actions/checkout@v6" | |
| with: | |
| submodules: true | |
| - name: "Setup" | |
| uses: "./.github/actions/setup" | |
| with: | |
| php-version: ${{ env.PHP_VERSION }} | |
| driver-version: ${{ env.DRIVER_VERSION }} | |
| working-directory: "generator" | |
| - name: "Run Generator" | |
| run: "generator/generate" | |
| - name: "Check file diff" | |
| run: git add . -N && git diff --exit-code |