diff --git a/.github/workflows/TypeCheck.yml b/.github/workflows/TypeCheck.yml new file mode 100644 index 0000000..b60539c --- /dev/null +++ b/.github/workflows/TypeCheck.yml @@ -0,0 +1,27 @@ +name: Run mypy type check + +on: + push: + +jobs: + release: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: Install poetry + run: pipx install poetry + shell: bash + + - uses: actions/setup-python@v5 + with: + python-version: '3.11' + cache: 'poetry' + + - run: poetry install + shell: bash + + - name: Run Mypy + shell: bash + run: | + poetry run mypy ./nonebot_plugin_tetris_stats