mirror of
https://github.com/A-Minos/nonebot-plugin-tetris-stats.git
synced 2026-02-03 18:45:32 +08:00
34 lines
637 B
YAML
34 lines
637 B
YAML
name: TypeCheck
|
|
|
|
on:
|
|
push:
|
|
|
|
jobs:
|
|
TypeCheck:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
|
|
- uses: astral-sh/setup-uv@v7
|
|
name: Setup UV
|
|
with:
|
|
enable-cache: true
|
|
|
|
- name: 'Set up Python'
|
|
uses: actions/setup-python@v6
|
|
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/
|