Skip to content

Commit ac87e96

Browse files
committed
chore: Update CI configuration to use setup-uv action and simplify commands
1 parent a7eb7f9 commit ac87e96

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/ci.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,22 +18,22 @@ jobs:
1818
python-version: ${{ matrix.python-version }}
1919

2020
- name: Install uv
21-
run: curl -LsSf https://astral.sh/uv/install.sh | sh
21+
uses: astral-sh/setup-uv@v1
2222

2323
- name: Install dependencies
24-
run: ~/.cargo/bin/uv sync --all-extras
24+
run: uv sync --all-extras
2525

2626
- name: Run Linting (Ruff)
27-
run: ~/.cargo/bin/uv run ruff check .
27+
run: uv run ruff check .
2828

2929
- name: Run Tests (Pytest)
30-
run: ~/.cargo/bin/uv run pytest
30+
run: uv run pytest
3131

3232
- name: Run Type Checking (Mypy)
33-
run: ~/.cargo/bin/uv run mypy cheatbot/
33+
run: uv run mypy cheatbot/
3434

3535
- name: Build package
36-
run: ~/.cargo/bin/uv run python -m build
36+
run: uv run python -m build
3737

3838
- name: Check built package with Twine
39-
run: ~/.cargo/bin/uv run twine check dist/*
39+
run: uv run twine check dist/*

0 commit comments

Comments
 (0)