From 605e9a7b99b50c1ba9f1f60fe0c2ca7621ff5a5f Mon Sep 17 00:00:00 2001 From: Jake Bailey <5341706+jakebailey@users.noreply.github.com> Date: Wed, 17 Jan 2024 12:01:48 -0800 Subject: [PATCH] Bump pyright-action to v2 (#11286) --- .github/workflows/meta_tests.yml | 2 +- .github/workflows/tests.yml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/meta_tests.yml b/.github/workflows/meta_tests.yml index 604e55b7b41c..bace1b586c48 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@v1 + uses: jakebailey/pyright-action@v2 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 2695b3a3f2c3..b0a7a6f961e2 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@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 }}