Add lint stage, basedpyright baseline #1
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: Python SDK CI | |
| on: [push, workflow_dispatch] | |
| jobs: | |
| lint-stage: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd | |
| - uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 | |
| with: | |
| version: 0.11.6 | |
| activate-environment: true | |
| enable-cache: true | |
| - name: Verify uv.lock is up-to-date | |
| run: uv lock --check | |
| - name: Install dependencies with uv | |
| run: SDK_DEPS_GROUP="lint" make uv-sync-ci | |
| - name: Verify against basedpyright baseline | |
| run: uv run --frozen basedpyright |