github: add mypy workflow #6
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: reviewdog | |
on: [pull_request] | |
jobs: | |
mypy: | |
name: runner / mypy | |
runs-on: ubuntu-latest | |
steps: | |
- run: pip install mypy | |
- uses: actions/checkout@v4 | |
- uses: tsuyoshicho/action-mypy@v4 | |
with: | |
github_token: ${{ secrets.github_token }} | |
# Change reviewdog reporter if you need [github-pr-check,github-check,github-pr-review]. | |
reporter: github-pr-review | |
# Change reporter level if you need. | |
# GitHub Status Check won't become failure with warning. | |
level: warning | |
# Change the current directory to run mypy command. | |
# mypy command reads setup.cfg or other settings file in this path. | |
workdir: . |