Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
FrostyX committed Aug 4, 2024
1 parent 9ad5143 commit 4ebddbe
Showing 1 changed file with 13 additions and 20 deletions.
33 changes: 13 additions & 20 deletions .github/workflows/mypy-action.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,19 @@
name: Mypi action

name: reviewdog
on: [pull_request]
# on:
# push:
# paths:
# - '*.py'

jobs:
mypy:
name: runner / mypy
runs-on: ubuntu-latest
steps:
- name: Setup Python
uses: actions/setup-python@v4
- uses: actions/checkout@v4
- uses: tsuyoshicho/action-mypy@v4
with:
python-version: 3.x
- name: Checkout
uses: actions/checkout@v3
- name: Install mypy
run: pip install mypy
- name: Run mypy
uses: sasanquaneuf/mypy-github-action@releases/v1
with:
checkName: 'mypy' # NOTE: this needs to be the same as the job name
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
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: .

0 comments on commit 4ebddbe

Please sign in to comment.