File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,20 +12,21 @@ jobs:
1212 runs-on : ubuntu-latest
1313 steps :
1414 - uses : actions/checkout@v4
15- - name : Set Python environment
16- uses : actions/setup-python@v5
17- with :
18- python-version : ' 3.13'
19-
20- - uses : astral-sh/ruff-action@v2
21- with :
22- version : " 0.14.10" # Pin the version to match pyproject.toml
23- args : format --check
24-
25- - uses : astral-sh/ruff-action@v2
26- with :
27- version : " 0.14.10" # Pin the version to match pyproject.toml
28- args : check --output-format=github
15+
16+ - name : Setup uv
17+ uses : astral-sh/setup-uv@v5
18+
19+ - name : Set up Python 3.13
20+ run : uv python install 3.13
21+
22+ - name : Install dependencies
23+ run : uv sync --dev
24+
25+ - name : Format check
26+ run : uv run ruff format --check
27+
28+ - name : Lint check
29+ run : uv run ruff check --output-format=github
2930
3031
3132 test :
You can’t perform that action at this time.
0 commit comments