Update project settings and re-run formatters #46
This file contains 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: Typecheck | |
on: | |
workflow_dispatch: # Allows manual triggers | |
push: | |
branches: | |
- main | |
paths: | |
- "**.py" | |
- "**.pyi" | |
- "**/requirements*.txt" | |
- "**/pyproject.toml" | |
- ".github/workflows/typecheck.yaml" | |
pull_request: | |
branches: | |
- main | |
paths: | |
- "**.py" | |
- "**.pyi" | |
- "**/requirements*.txt" | |
- "**/pyproject.toml" | |
- ".github/workflows/typecheck.yaml" | |
env: | |
PIP_DISABLE_PIP_VERSION_CHECK: 1 | |
FORCE_COLOR: 1 | |
jobs: | |
pyright: | |
name: Run pyright | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
# - uses: actions/setup-python@v4 | |
# with: | |
# python-version: "3.8" | |
# cache: pip | |
# cache-dependency-path: "**/requirements*.txt" | |
# - run: pip install -r requirements.txt | |
- uses: jakebailey/pyright-action@v1 |