direct-stubs: Add deprecation notes #48
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 scripts | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
- master | |
paths: | |
- 'idbstubs/**' | |
- 'tests/*' | |
- '.github/workflows/typecheck_scripts.yml' | |
- 'requirements-dev.txt' | |
pull_request: | |
paths: | |
- 'idbstubs/**' | |
- 'tests/*' | |
- '.github/workflows/typecheck_scripts.yml' | |
- 'requirements-dev.txt' | |
jobs: | |
pyright: | |
name: Check the scripts with Pyright | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.11' | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r requirements-dev.txt | |
- name: Check the scripts with Pyright | |
uses: jakebailey/pyright-action@v1 | |
with: | |
extra-args: idbstubs tests | |
version: 1.1.344 | |
python-version: '3.11' |