Skip to content

direct-stubs: Add deprecation notes #48

direct-stubs: Add deprecation notes

direct-stubs: Add deprecation notes #48

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'