Skip to content

Commit fa0c557

Browse files
committed
Use uv in both places
1 parent e3abfbc commit fa0c557

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

.github/workflows/python.yaml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,15 @@ jobs:
1515
uses: actions/setup-python@v5
1616
with:
1717
python-version: "3.11"
18-
- name: Install dependencies
18+
- name: Install uv
19+
uses: astral-sh/setup-uv@v6
20+
- name: Set up virtual environment and install dependencies
1921
run: |
20-
python -m pip install --upgrade pip
21-
pip install -r requirements-dev.txt
22+
uv venv .venv
23+
uv pip install -r requirements-dev.txt
2224
- name: Lint with ruff
23-
run: ruff check .
25+
run: |
26+
uv run ruff check .
2427
- name: Check formatting with black
25-
run: black . --check --verbose
28+
run: |
29+
uv run black . --check --verbose

0 commit comments

Comments
 (0)