Update uv in Dockerfile (#2496)

* Update uv in Dockerfile

* Update workflow

* Update last entry of workflow

* Set the uv version as an env var

* Update variable use
This commit is contained in:
Adrià Casajús 2025-06-16 12:38:29 +02:00 committed by GitHub
parent cda2a107f8
commit 0211e044bf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 4 deletions

View file

@ -10,6 +10,7 @@ on:
env:
CMAKE_POLICY_VERSION_MINIMUM: 3.5
UV_VERSION: 0.7.13
jobs:
lint:
@ -22,7 +23,7 @@ jobs:
uses: astral-sh/setup-uv@v5
with:
# Install a specific version of uv.
version: "0.5.21"
version: ${{ env.UV_VERSION }}
enable-cache: true
- name: Install OS dependencies
@ -76,7 +77,7 @@ jobs:
uses: astral-sh/setup-uv@v5
with:
# Install a specific version of uv.
version: "0.5.21"
version: ${{ env.UV_VERSION }}
enable-cache: true
- name: Install OS dependencies

View file

@ -6,8 +6,8 @@ RUN cd /code/static && npm ci
FROM --platform=linux/amd64 ubuntu:22.04
ARG UV_VERSION="0.5.21"
ARG UV_HASH="e108c300eafae22ad8e6d94519605530f18f8762eb58d2b98a617edfb5d088fc"
ARG UV_VERSION="0.7.13"
ARG UV_HASH="560bb64e060354e45138d7dd47c8dd48a4f7a349af5520d29cd3c704e79f286c"
# Keeps Python from generating .pyc files in the container
ENV PYTHONDONTWRITEBYTECODE=1