Bump pyright-action to v2 (#11286)

This commit is contained in:
Jake Bailey
2024-01-17 12:01:48 -08:00
committed by GitHub
parent 11b842cd80
commit 605e9a7b99
2 changed files with 4 additions and 4 deletions

View File

@@ -64,7 +64,7 @@ jobs:
file: "pyproject.toml"
field: "tool.typeshed.pyright_version"
- name: Run pyright on typeshed
uses: jakebailey/pyright-action@v1
uses: jakebailey/pyright-action@v2
with:
version: ${{ steps.pyright_version.outputs.value }}
python-platform: ${{ matrix.python-platform }}

View File

@@ -158,14 +158,14 @@ jobs:
file: "pyproject.toml"
field: "tool.typeshed.pyright_version"
- name: Run pyright with basic settings on all the stubs
uses: jakebailey/pyright-action@v1
uses: jakebailey/pyright-action@v2
with:
version: ${{ steps.pyright_version.outputs.value }}
python-platform: ${{ matrix.python-platform }}
python-version: ${{ matrix.python-version }}
no-comments: ${{ matrix.python-version != '3.11' || matrix.python-platform != 'Linux' }} # Having each job create the same comment is too noisy.
- name: Run pyright with stricter settings on some of the stubs
uses: jakebailey/pyright-action@v1
uses: jakebailey/pyright-action@v2
with:
version: ${{ steps.pyright_version.outputs.value }}
python-platform: ${{ matrix.python-platform }}
@@ -173,7 +173,7 @@ jobs:
no-comments: ${{ matrix.python-version != '3.11' || matrix.python-platform != 'Linux' }} # Having each job create the same comment is too noisy.
project: ./pyrightconfig.stricter.json
- name: Run pyright on the test cases
uses: jakebailey/pyright-action@v1
uses: jakebailey/pyright-action@v2
with:
version: ${{ steps.pyright_version.outputs.value }}
python-platform: ${{ matrix.python-platform }}