diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 4887beb..40fa154 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -43,9 +43,10 @@ jobs: - name: Install dependencies run: | - python -m pip install --upgrade pip wheel - if [ -f requirements.txt ]; then pip install -r requirements.txt; fi + python -m pip install -U uv - name: Do linting run: | + python -m uv v && . .venv/bin/activate + uv pip install -r requirements.txt make ci-check diff --git a/Makefile b/Makefile index 28bc3e5..1a3e24a 100644 --- a/Makefile +++ b/Makefile @@ -2,8 +2,12 @@ all: .PHONY: install -install: - python -m pip install -U pip -r requirements.txt +install: pip-compile + python -m uv pip install -r requirements.txt + +.PHONY: pip-compile +pip-compile: + python -m uv pip compile requirements.in -o requirements.txt .PHONY: ci-check ci-check: