chore: 更新版本号 #100
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: Static Check | |
on: | |
push: | |
workflow_call: | |
jobs: | |
static-check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Poetry | |
run: pipx install poetry | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "3.x" | |
cache: "poetry" | |
- name: Install Dependencies | |
run: poetry install --all-extras --no-root | |
- name: Lint With Ruff | |
run: poetry run ruff check --output-format=github . | |
- name: Type checking with Pyright | |
run: poetry run pyright --warnings . |