Skip to content

Commit

Permalink
upgrade pyright action
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiasdiez committed Jan 6, 2025
1 parent a62be2f commit a33196a
Showing 1 changed file with 2 additions and 17 deletions.
19 changes: 2 additions & 17 deletions .github/workflows/pyright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,25 +47,10 @@ jobs:
# No need to build sagelib; pyright only needs the libraries from which sagelib imports

- name: Static code check with pyright
uses: jakebailey/pyright-action@v1
uses: jakebailey/pyright-action@v2.3.2
with:
version: 1.1.332
# Many warnings issued by pyright are not yet helpful because there is not yet enough type information
no-comments: true
working-directory: ./worktree-image
env:
# To avoid out of memory errors
NODE_OPTIONS: --max-old-space-size=8192

- name: Static code check with pyright (annotated)
if: (success() || failure()) && steps.incremental.outcome == 'success'
uses: jakebailey/pyright-action@v1
with:
version: 1.1.332
# Issue errors
no-comments: false
level: error
working-directory: ./worktree-image
annotate: "errors"
env:
# To avoid out of memory errors
NODE_OPTIONS: --max-old-space-size=8192

0 comments on commit a33196a

Please sign in to comment.