🐛 优化等待逻辑,修复截图爆炸 #683
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: | |
TypeCheck: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: astral-sh/setup-uv@v5 | |
name: Setup UV | |
with: | |
enable-cache: true | |
- name: 'Set up Python' | |
uses: actions/setup-python@v5 | |
with: | |
python-version-file: '.python-version' | |
- run: uv sync | |
shell: bash | |
- name: Run Mypy | |
shell: bash | |
run: | | |
uv run mypy ./nonebot_plugin_tetris_stats | |
- name: Run BasedPyright | |
shell: bash | |
run: | | |
uv run basedpyright ./nonebot_plugin_tetris_stats/ |