⬆️ Upgrade github/codeql-action action to v3 (#506) #564
This file contains 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@v3 | |
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/ |