Skip to content

Commit 0119baa

Browse files
committed
ci: switch quality workflow commands to uv
1 parent a29107d commit 0119baa

1 file changed

Lines changed: 6 additions & 9 deletions

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,20 +22,17 @@ jobs:
2222
uses: actions/setup-python@v6
2323
with:
2424
python-version: ${{ matrix.python-version }}
25-
cache: pip
2625

27-
- name: Install dependencies
28-
run: |
29-
python -m pip install --upgrade pip
30-
pip install -r requirements-dev.txt
26+
- name: Set up uv
27+
uses: astral-sh/setup-uv@v6
3128

3229
- name: Run Django system checks
33-
run: python manage.py check
30+
run: uv run --no-project --with-requirements requirements-dev.txt python manage.py check
3431

3532
- name: Run pre-commit
36-
run: pre-commit run --all-files
33+
run: uv run --no-project --with-requirements requirements-dev.txt pre-commit run --all-files
3734

3835
- name: Run unit tests with coverage
3936
run: |
40-
coverage run manage.py test
41-
coverage report --fail-under=80
37+
uv run --no-project --with-requirements requirements-dev.txt coverage run manage.py test
38+
uv run --no-project --with-requirements requirements-dev.txt coverage report --fail-under=80

0 commit comments

Comments
 (0)