Skip to content

Update workflows

Update workflows #77

Workflow file for this run

name: pyright
on:
workflow_dispatch:
push:
pull_request:
types: [ opened, reopened, synchronize ]
jobs:
check:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ '3.8', '3.x' ]
name: check ${{ matrix.python-version }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: pip install -U -r requirements.txt .[test] .[cli]
- name: Delete build directory
run: rm -rf build
- name: Run Pyright
uses: jakebailey/pyright-action@v1