From cf907ff1027ecfd956f9d075bf29f10397be97ff Mon Sep 17 00:00:00 2001 From: Milad Makdesi Date: Tue, 21 Oct 2025 14:29:33 +0200 Subject: [PATCH] ci(pyright): add pyright.yml according to workflows Signed-off-by: Milad Makdesi --- .github/workflows/pyright.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/pyright.yml diff --git a/.github/workflows/pyright.yml b/.github/workflows/pyright.yml new file mode 100644 index 0000000..d64b049 --- /dev/null +++ b/.github/workflows/pyright.yml @@ -0,0 +1,28 @@ +name: pyright + +on: + pull_request: + branches: ["main"] + +jobs: + type-check: + runs-on: ubuntu-latest + strategy: + matrix: + python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"] + + steps: + - name: Checkout repository + uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 + + - name: Set up Python + uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c + with: + python-version: ${{ matrix.python-version }} + + - name: Install uv + uses: astral-sh/setup-uv@2ddd2b9cb38ad8efd50337e8ab201519a34c9f24 # v7.1.1 + + - name: Run Pyright + run: uv run pyright +