diff --git a/.github/workflows/meta_tests.yml b/.github/workflows/meta_tests.yml index bace1b586c48..3a9143afbf07 100644 --- a/.github/workflows/meta_tests.yml +++ b/.github/workflows/meta_tests.yml @@ -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 }} diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 98b9671a4468..09f121ec03fc 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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 }}