🔒️(ci) keep uv run from building a source distribution

--no-sync already stops uv run resolving an environment of its own,
and that is what the version findings were about. Building is a
separate guarantee that nothing on the line carried, so --no-build
now says it outright. It is inert beside --no-sync, and the three
lint jobs are unchanged.
This commit is contained in:
davd-gzl
2026-08-15 16:02:21 +00:00
committed by aleb_the_flash
parent 7538cd886b
commit 1721eb0884
+7 -7
View File
@@ -130,11 +130,11 @@ jobs:
run: uv sync --locked --all-extras run: uv sync --locked --all-extras
- name: Check code formatting with ruff - name: Check code formatting with ruff
run: uv run --no-sync ruff format . --diff run: uv run --no-sync --no-build ruff format . --diff
- name: Lint code with ruff - name: Lint code with ruff
run: uv run --no-sync ruff check . run: uv run --no-sync --no-build ruff check .
- name: Lint code with pylint - name: Lint code with pylint
run: uv run --no-sync pylint meet demo core run: uv run --no-sync --no-build pylint meet demo core
lint-agents: lint-agents:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@@ -155,9 +155,9 @@ jobs:
- name: Install the project - name: Install the project
run: uv sync --locked --all-extras run: uv sync --locked --all-extras
- name: Check code formatting with ruff - name: Check code formatting with ruff
run: uv run --no-sync ruff format . --diff run: uv run --no-sync --no-build ruff format . --diff
- name: Lint code with ruff - name: Lint code with ruff
run: uv run --no-sync ruff check . run: uv run --no-sync --no-build ruff check .
lint-summary: lint-summary:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@@ -293,10 +293,10 @@ jobs:
sudo apt-get install -y gettext sudo apt-get install -y gettext
- name: Generate a MO file from strings extracted from the project - name: Generate a MO file from strings extracted from the project
run: uv run --no-sync python manage.py compilemessages run: uv run --no-sync --no-build python manage.py compilemessages
- name: Run tests - name: Run tests
run: uv run --no-sync pytest -n 2 run: uv run --no-sync --no-build pytest -n 2
test-summary: test-summary:
runs-on: ubuntu-latest runs-on: ubuntu-latest