chore: use pixi for codegen environment in ci #69
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: Code Generation Check | |
| on: | |
| pull_request: | |
| permissions: | |
| contents: read | |
| jobs: | |
| codegen-check: | |
| name: Verify Code Generation | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v6 | |
| with: | |
| submodules: recursive | |
| - uses: prefix-dev/setup-pixi@v0.9.3 | |
| with: | |
| pixi-version: v0.62.2 | |
| - name: Run code generation | |
| run: | | |
| # fetch submodule tags since actions/checkout does not | |
| git submodule foreach 'git fetch --unshallow || true' | |
| # Run all code generation steps | |
| make codegen | |
| - name: Check for uncommitted changes | |
| run: | | |
| bash ./check_codegen.sh |