From e925bff1a29166b78c1db50f52c5776189336afb Mon Sep 17 00:00:00 2001 From: Quentin BEY Date: Tue, 10 Feb 2026 21:49:47 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7(crowdin)=20use=20`uv`=20instead=20?= =?UTF-8?q?of=20pip?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This garanties consistency across actions --- .github/workflows/crowdin_upload.yml | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/.github/workflows/crowdin_upload.yml b/.github/workflows/crowdin_upload.yml index 6e8d2ad..86cc437 100644 --- a/.github/workflows/crowdin_upload.yml +++ b/.github/workflows/crowdin_upload.yml @@ -22,15 +22,14 @@ jobs: - name: Checkout uses: actions/checkout@v4 # Backend i18n - - name: Install Python - uses: actions/setup-python@v5 + - name: Set up Python + uses: actions/setup-python@v6 with: - python-version: "3.13.3" - cache: "pip" - - name: Upgrade pip and setuptools - run: pip install --upgrade pip setuptools - - name: Install development dependencies - run: pip install --user . + python-version-file: "src/backend/pyproject.toml" + - name: Install uv + uses: astral-sh/setup-uv@v6 + - name: Install the project + run: uv sync --locked --all-extras working-directory: src/backend - name: Restore the mail templates uses: actions/cache@v4 @@ -46,7 +45,7 @@ jobs: - name: generate pot files working-directory: src/backend run: | - DJANGO_CONFIGURATION=Build python manage.py makemessages -a --keep-pot + DJANGO_CONFIGURATION=Build uv run python manage.py makemessages -a --keep-pot # frontend i18n - name: Setup Node.js uses: actions/setup-node@v4