Skip to content

Commit 26ef6e8

Browse files
committed
ci(tests): Add tsuyoshicho/action-mypy
See also: https://github.com/tsuyoshicho/action-mypy
1 parent 84da4ef commit 26ef6e8

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/tests.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,17 @@ jobs:
4242
run: poetry run flake8
4343

4444
- name: Lint with mypy
45-
run: poetry run mypy .
45+
uses: tsuyoshicho/action-mypy@v3
46+
with:
47+
github_token: ${{ secrets.github_token }}
48+
# Change reviewdog reporter if you need [github-pr-check,github-check,github-pr-review].
49+
reporter: github-pr-review
50+
# Change reporter level if you need.
51+
# GitHub Status Check won't become failure with warning.
52+
# level: warning
53+
# Change the current directory to run mypy command.
54+
# mypy command reads setup.cfg or other settings file in this path.
55+
# workdir: .
4656

4757
- name: Print python versions
4858
run: |

0 commit comments

Comments
 (0)