Skip to content

Commit a33196a

Browse files
committed
upgrade pyright action
1 parent a62be2f commit a33196a

File tree

1 file changed

+2
-17
lines changed

1 file changed

+2
-17
lines changed

.github/workflows/pyright.yml

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -47,25 +47,10 @@ jobs:
4747
# No need to build sagelib; pyright only needs the libraries from which sagelib imports
4848

4949
- name: Static code check with pyright
50-
uses: jakebailey/pyright-action@v1
50+
uses: jakebailey/pyright-action@v2.3.2
5151
with:
5252
version: 1.1.332
53-
# Many warnings issued by pyright are not yet helpful because there is not yet enough type information
54-
no-comments: true
55-
working-directory: ./worktree-image
56-
env:
57-
# To avoid out of memory errors
58-
NODE_OPTIONS: --max-old-space-size=8192
59-
60-
- name: Static code check with pyright (annotated)
61-
if: (success() || failure()) && steps.incremental.outcome == 'success'
62-
uses: jakebailey/pyright-action@v1
63-
with:
64-
version: 1.1.332
65-
# Issue errors
66-
no-comments: false
67-
level: error
68-
working-directory: ./worktree-image
53+
annotate: "errors"
6954
env:
7055
# To avoid out of memory errors
7156
NODE_OPTIONS: --max-old-space-size=8192

0 commit comments

Comments
 (0)