From 83e970342ca7afd666a77322943091004657b928 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 23 Dec 2024 01:35:31 +0000 Subject: [PATCH] Update documentation references to astral-sh/setup-uv to v5 --- docs/guides/integration/github.md | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/docs/guides/integration/github.md b/docs/guides/integration/github.md index 72b099f220c8..4e4a2fe9be99 100644 --- a/docs/guides/integration/github.md +++ b/docs/guides/integration/github.md @@ -20,7 +20,7 @@ jobs: - uses: actions/checkout@v4 - name: Install uv - uses: astral-sh/setup-uv@v4 + uses: astral-sh/setup-uv@v5 ``` It is considered best practice to pin to a specific uv version, e.g., with: @@ -37,7 +37,7 @@ jobs: - uses: actions/checkout@v4 - name: Install uv - uses: astral-sh/setup-uv@v4 + uses: astral-sh/setup-uv@v5 with: # Install a specific version of uv. version: "0.5.11" @@ -59,7 +59,7 @@ jobs: - uses: actions/checkout@v4 - name: Install uv - uses: astral-sh/setup-uv@v4 + uses: astral-sh/setup-uv@v5 - name: Set up Python run: uv python install @@ -86,7 +86,7 @@ jobs: - uses: actions/checkout@v4 - name: Install uv - uses: astral-sh/setup-uv@v4 + uses: astral-sh/setup-uv@v5 - name: "Set up Python" uses: actions/setup-python@v5 @@ -109,7 +109,7 @@ jobs: - uses: actions/checkout@v4 - name: Install uv - uses: astral-sh/setup-uv@v4 + uses: astral-sh/setup-uv@v5 - name: "Set up Python" uses: actions/setup-python@v5 @@ -139,7 +139,7 @@ jobs: - uses: actions/checkout@v4 - name: Install uv and set the python version - uses: astral-sh/setup-uv@v4 + uses: astral-sh/setup-uv@v5 with: python-version: ${{ matrix.python-version }} ``` @@ -180,7 +180,7 @@ jobs: - uses: actions/checkout@v4 - name: Install uv - uses: astral-sh/setup-uv@v4 + uses: astral-sh/setup-uv@v5 - name: Set up Python run: uv python install @@ -208,7 +208,7 @@ persisting the cache: ```yaml title="example.yml" - name: Enable caching - uses: astral-sh/setup-uv@v4 + uses: astral-sh/setup-uv@v5 with: enable-cache: true ``` @@ -217,7 +217,7 @@ You can configure the action to use a custom cache directory on the runner: ```yaml title="example.yml" - name: Define a custom uv cache path - uses: astral-sh/setup-uv@v4 + uses: astral-sh/setup-uv@v5 with: enable-cache: true cache-local-path: "/path/to/cache" @@ -227,7 +227,7 @@ Or invalidate it when the lockfile changes: ```yaml title="example.yml" - name: Define a cache dependency glob - uses: astral-sh/setup-uv@v4 + uses: astral-sh/setup-uv@v5 with: enable-cache: true cache-dependency-glob: "uv.lock" @@ -237,7 +237,7 @@ Or when any requirements file changes: ```yaml title="example.yml" - name: Define a cache dependency glob - uses: astral-sh/setup-uv@v4 + uses: astral-sh/setup-uv@v5 with: enable-cache: true cache-dependency-glob: "requirements**.txt"