🐛 修复删除 ujson 依赖后 迁移脚本报错的bug #248
Workflow file for this run
This file contains hidden or 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: TypeCheck | |
on: | |
push: | |
jobs: | |
Mypy: | |
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.10' | |
cache: 'poetry' | |
- run: poetry install | |
shell: bash | |
- name: Run Mypy | |
shell: bash | |
run: | | |
poetry run mypy ./nonebot_plugin_tetris_stats |