File tree 2 files changed +8
-5
lines changed
2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 1
- name : ruff checks
1
+ name : CI
2
2
3
- on : ["push", "pull_request"]
3
+ on : ["push", "pull_request", "workflow_dispatch" ]
4
4
5
5
jobs :
6
- ruff :
6
+ check :
7
7
runs-on : ubuntu-latest
8
8
steps :
9
9
- uses : actions/checkout@v4
21
21
- name : Ruff lint check
22
22
run : |
23
23
ruff check --output-format=github
24
+ - name : Pyright type check
25
+ run : |
26
+ npx pyright
24
27
publish :
25
- needs : ruff
28
+ needs : check
26
29
runs-on : ubuntu-latest
27
30
permissions :
28
31
id-token : write
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ build-backend = "pdm.backend"
16
16
distribution = true
17
17
18
18
[tool .pdm .dev-dependencies ]
19
- dev = [" pyodide-py~ =0.25.0" , " ruff~=0.3.0" , " openai~=1.13.3" ]
19
+ dev = [" pyodide-py> =0.25.0" , " ruff~=0.3.0" , " openai~=1.13.3" ]
20
20
21
21
[tool .pdm .scripts ]
22
22
fmt = " ruff format"
You can’t perform that action at this time.
0 commit comments