perf: 使用分区表优化简书积分兑换平台市场记录表性能 #164
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: | |
jobs: | |
static-check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install uv | |
uses: astral-sh/setup-uv@v3 | |
- name: Install Python | |
run: uv python install 3.12 | |
- name: Install Dependencies | |
run: uv sync --all-extras | |
- name: Lint With Ruff | |
run: uv run ruff check --output-format=github . | |
- name: Type checking with Pyright | |
run: uv run pyright --warnings . |