From 17a6eb4bb72079c969f2855332c4f7754d80ef73 Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Fri, 17 Jul 2026 13:13:52 +0200 Subject: [PATCH] Use shared setup-uv action --- .github/workflows/ci.yml | 4 +--- .github/workflows/publish.yml | 6 +++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 11f57d0..f03b28a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -32,9 +32,7 @@ jobs: with: python-version: ${{ matrix.python-version }} - - uses: astral-sh/setup-uv@v7 - with: - enable-cache: false + - uses: ultralytics/actions/setup-uv@main - name: Install dependencies run: | diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 42e64c6..4f272c2 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -31,7 +31,7 @@ jobs: - uses: actions/setup-python@v6 with: python-version: "3.x" - - uses: astral-sh/setup-uv@v7 + - uses: ultralytics/actions/setup-uv@main - run: uv pip install --system --no-cache ultralytics-actions # This template gates on __version__ changing in the pushed diff since the 'template' name on # PyPI belongs to an unrelated package. When publishing your own package, replace this step @@ -102,7 +102,7 @@ jobs: - uses: actions/setup-python@v6 with: python-version: "3.x" - - uses: astral-sh/setup-uv@v7 + - uses: ultralytics/actions/setup-uv@main - run: uv pip install --system --no-cache build - run: python -m build - uses: actions/upload-artifact@v7 @@ -142,7 +142,7 @@ jobs: - uses: actions/setup-python@v6 with: python-version: "3.x" - - uses: astral-sh/setup-uv@v7 + - uses: ultralytics/actions/setup-uv@main - run: | uv venv sbom-env uv pip install -e .