diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2442277d..9a436879 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,6 +14,8 @@ jobs: steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 + with: + python-version-file: ".python-version" - uses: pre-commit/action@v3.0.1 with: extra_args: --all-files diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index db32fa3a..43c70032 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -37,12 +37,12 @@ jobs: git fetch git reset --hard origin/master - poetry install --with prod --without docs,tests + uv sync --only-group prod npm install - poetry run ./manage.py install_xapian - poetry run ./manage.py migrate - poetry run ./manage.py collectstatic --clear --noinput - poetry run ./manage.py compilemessages + uv run ./manage.py install_xapian + uv run ./manage.py migrate + uv run ./manage.py collectstatic --clear --noinput + uv run ./manage.py compilemessages sudo systemctl restart uwsgi diff --git a/.github/workflows/taiste.yml b/.github/workflows/taiste.yml index a032924b..594629a4 100644 --- a/.github/workflows/taiste.yml +++ b/.github/workflows/taiste.yml @@ -36,11 +36,11 @@ jobs: git fetch git reset --hard origin/taiste - poetry install --with prod --without docs,tests + uv sync --only-group prod npm install - poetry run ./manage.py install_xapian - poetry run ./manage.py migrate - poetry run ./manage.py collectstatic --clear --noinput - poetry run ./manage.py compilemessages + uv run ./manage.py install_xapian + uv run ./manage.py migrate + uv run ./manage.py collectstatic --clear --noinput + uv run ./manage.py compilemessages sudo systemctl restart uwsgi