From 5880493f01c081da2718c73164ea757bf656d20e Mon Sep 17 00:00:00 2001 From: Manuel Raynaud Date: Wed, 13 May 2026 08:51:26 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7(ci)=20use=20uv=20in=20crowding=20j?= =?UTF-8?q?obs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We miss to migrate to uv in crowding jobs --- .github/workflows/crowdin_upload.yml | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/.github/workflows/crowdin_upload.yml b/.github/workflows/crowdin_upload.yml index bdca376bd..a334ddce4 100644 --- a/.github/workflows/crowdin_upload.yml +++ b/.github/workflows/crowdin_upload.yml @@ -3,7 +3,7 @@ name: Update crowdin sources on: workflow_dispatch: push: - branches: + branches: - main permissions: @@ -13,7 +13,7 @@ jobs: install-dependencies: uses: ./.github/workflows/dependencies.yml with: - node_version: '22.x' + node_version: "22.x" with-front-dependencies-installation: true with-build_mails: true @@ -25,16 +25,15 @@ jobs: - name: Checkout uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 # Backend i18n - - name: Install Python + - name: Set up Python uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6 with: - python-version: "3.14.4" - 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@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0 + - name: Install the project working-directory: src/backend + run: uv sync --locked --all-extras - name: Restore the mail templates uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5 id: mail-templates @@ -49,7 +48,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: Restore the frontend cache uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5