diff --git a/.github/workflows/quality.yml b/.github/workflows/quality.yml index a36a1cdf2..04d4907dc 100644 --- a/.github/workflows/quality.yml +++ b/.github/workflows/quality.yml @@ -30,20 +30,25 @@ jobs: - name: Install dependencies run: uv sync --no-group local + - name: Activate virtualenv + run: | + . .venv/bin/activate + echo PATH=$PATH >> $GITHUB_ENV + - name: Run ruff - run: uv run python dev.py code-quality + run: python dev.py code-quality # Will show outdated dependencies, etc - name: Validate state - run: uv run python dev.py validate state + run: python dev.py validate state - name: Check license headers - run: uv run python dev.py validate license-headers + run: python dev.py validate license-headers - name: Validate sdist/wheel run: | - uv run python -m build - uv run twine check --strict dist/* + python -m build + twine check --strict dist/* - name: Run pylint - run: uv run pylint --verbose ca/django_ca/ ca/ca/ docs/source/django_ca_sphinx/ devscripts/ + run: pylint --verbose ca/django_ca/ ca/ca/ docs/source/django_ca_sphinx/ devscripts/