pin pyright-action to 2.0.2 (#11475)

This commit is contained in:
Alex Waygood
2024-02-27 10:07:47 +00:00
committed by GitHub
parent 1e7e174b4f
commit 4afc368256
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@v2
uses: jakebailey/pyright-action@v2.0.2
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@v2
uses: jakebailey/pyright-action@v2.0.2
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@v2
uses: jakebailey/pyright-action@v2.0.2
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@v2
uses: jakebailey/pyright-action@v2.0.2
with:
version: ${{ steps.pyright_version.outputs.value }}
python-platform: ${{ matrix.python-platform }}