From 04eca3e68910f6ac911bb95bb7103b7dc34546ea Mon Sep 17 00:00:00 2001 From: Valentin Porchet Date: Thu, 5 Sep 2024 22:47:11 +0200 Subject: [PATCH] feat: updated uv to v0.4.5 (#189) * feat: updated uv to v0.4.5 * fix: revert Dockerfile changes --- .github/workflows/build.yml | 6 ++++-- Dockerfile | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ee6f4280..af41d696 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,13 +14,15 @@ jobs: strategy: matrix: python-version: ["3.12"] - uv-version: ["0.4.0"] + uv-version: ["0.4.5"] steps: - uses: actions/checkout@v4 - name: Set up uv - run: curl -LsSf https://astral.sh/uv/${{ matrix.uv-version }}/install.sh | sh + uses: astral-sh/setup-uv@v1 + with: + version: "${{ matrix.uv-version }}" - name: Set up Python ${{ matrix.python-version }} run: uv python install ${{ matrix.python-version }} diff --git a/Dockerfile b/Dockerfile index 94209d3b..d8bb30e6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ # Build arguments ARG PYTHON_VERSION=3.12 -ARG UV_VERSION=0.4.0 +ARG UV_VERSION=0.4.5 # Create a temporary stage to pull the uv binary FROM ghcr.io/astral-sh/uv:${UV_VERSION} AS uv-stage