⚡️ Speed up function _add_global_declarations_for_language by 103% in PR #1199 (omni-java)
#4458
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: Mypy Type Checking for CLI | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref_name }} | |
| cancel-in-progress: true | |
| jobs: | |
| type-check-cli: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v6 | |
| - name: sync uv | |
| run: | | |
| uv venv --seed | |
| uv sync | |
| - name: Run mypy on allowlist | |
| run: uv run mypy --non-interactive --config-file pyproject.toml @mypy_allowlist.txt |