Standardize executable empty blocks (#235) #336
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 (pyright) | |
| on: | |
| push: | |
| branches: | |
| - "main" | |
| tags: | |
| - "v*" | |
| - "azuremanaged-v*" | |
| - "azurefunctions-v*" | |
| pull_request: | |
| branches: | |
| - "main" | |
| permissions: | |
| contents: read | |
| jobs: | |
| pyright: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Python 3.10 (lowest supported) | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.10" | |
| - name: Install packages and dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install nox | |
| - name: Run pyright (strict, Python 3.10) | |
| run: nox -s typecheck_core | |
| pyright-azurefunctions: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Python 3.13 (lowest supported by azure-functions-durable) | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.13" | |
| - name: Install packages and dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install nox | |
| - name: Run pyright (strict, Python 3.13) | |
| run: nox -s typecheck_functions |