Skip to content

Commit 7e819b4

Browse files
committed
.
1 parent 22310f1 commit 7e819b4

1 file changed

Lines changed: 15 additions & 14 deletions

File tree

.github/workflows/ci.yml

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff 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:

0 commit comments

Comments
 (0)