ci(lint): add ruff & pyright CI

This commit is contained in:
MingxuanGame
2025-08-22 08:40:52 +00:00
parent 598fcc8b38
commit 4b2e467128
2 changed files with 58 additions and 0 deletions

24
.github/workflows/ruff.yml vendored Normal file
View File

@@ -0,0 +1,24 @@
name: Ruff Lint
on:
push:
branches:
- main
pull_request:
paths:
- "app/**"
- "main.py"
- ".github/workflows/ruff.yml"
- "pyproject.toml"
- "uv.lock"
jobs:
ruff:
name: Ruff Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- name: Run Ruff Lint
uses: astral-sh/ruff-action@v3