TLOZ: Assorded Logic Fixes #19
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: type check | |
on: | |
pull_request: | |
paths: | |
- "**.py" | |
- ".github/pyright-config.json" | |
- ".github/workflows/strict-type-check.yml" | |
- "**.pyi" | |
push: | |
paths: | |
- "**.py" | |
- ".github/pyright-config.json" | |
- ".github/workflows/strict-type-check.yml" | |
- "**.pyi" | |
jobs: | |
pyright: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "3.11" | |
- name: "Install dependencies" | |
run: | | |
python -m pip install --upgrade pip pyright==1.1.358 | |
python ModuleUpdate.py --append "WebHostLib/requirements.txt" --force --yes | |
- name: "pyright: strict check on specific files" | |
run: python .github/type_check.py |