Merge pull request #235 from jorenham/static-typing #12
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: Type-check | |
| on: | |
| push: | |
| branches: [master, develop] | |
| pull_request: | |
| workflow_dispatch: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }} | |
| cancel-in-progress: true | |
| jobs: | |
| type-check: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 5 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: astral-sh/setup-uv@v7 | |
| with: | |
| activate-environment: true | |
| - name: install | |
| run: uv pip install cython basedpyright pyrefly mypy . | |
| - name: run basedpyright | |
| run: basedpyright | |
| - name: run basedpyright --verifytypes | |
| run: basedpyright --ignoreexternal --verifytypes stl | |
| - name: run pyrefly check | |
| run: pyrefly check | |
| - name: run mypy | |
| run: mypy --no-incremental --cache-dir=/dev/null stl |