From 64820920ab646200cfda3830a9a7caac338c1753 Mon Sep 17 00:00:00 2001 From: jmeridth Date: Wed, 11 Mar 2026 00:49:06 -0500 Subject: [PATCH] build: pin uv version and add linter concurrency MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## What Pin astral-sh/setup-uv to version 0.10.9 with caching enabled across all CI workflows, and add a concurrency group to the linter workflow to cancel in-progress runs on the same branch. ## Why Pinning the uv version prevents unexpected breakage from new uv releases while enable-cache speeds up CI runs. The concurrency group avoids wasting CI minutes on outdated linter runs when new commits are pushed. ## Notes - The version pin means dependabot won't auto-update uv — manual bumps will be needed when upgrading. - Caching is now enabled on update-uv-lock.yml too; verify this doesn't interfere with lock file regeneration. Signed-off-by: jmeridth --- .github/workflows/copilot-setup-steps.yml | 1 + .github/workflows/python-ci.yml | 1 + .github/workflows/super-linter.yaml | 5 +++++ .github/workflows/update-uv-lock.yml | 3 +++ 4 files changed, 10 insertions(+) diff --git a/.github/workflows/copilot-setup-steps.yml b/.github/workflows/copilot-setup-steps.yml index 60487ae..5f7082d 100644 --- a/.github/workflows/copilot-setup-steps.yml +++ b/.github/workflows/copilot-setup-steps.yml @@ -33,6 +33,7 @@ jobs: - name: Install uv uses: astral-sh/setup-uv@5a095e7a2014a4212f075830d4f7277575a9d098 # v7.3.1 with: + version: "0.10.9" enable-cache: true - name: Set up Python diff --git a/.github/workflows/python-ci.yml b/.github/workflows/python-ci.yml index 4189114..78bf5ce 100644 --- a/.github/workflows/python-ci.yml +++ b/.github/workflows/python-ci.yml @@ -26,6 +26,7 @@ jobs: - name: Install uv uses: astral-sh/setup-uv@5a095e7a2014a4212f075830d4f7277575a9d098 # v7.3.1 with: + version: "0.10.9" enable-cache: true - name: Set up Python ${{ matrix.python-version }} run: uv python install ${{ matrix.python-version }} diff --git a/.github/workflows/super-linter.yaml b/.github/workflows/super-linter.yaml index ad05cc6..afcb5fa 100644 --- a/.github/workflows/super-linter.yaml +++ b/.github/workflows/super-linter.yaml @@ -5,6 +5,10 @@ on: pull_request: branches: [main] +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + permissions: contents: read @@ -25,6 +29,7 @@ jobs: - name: Install uv uses: astral-sh/setup-uv@5a095e7a2014a4212f075830d4f7277575a9d098 # v7.3.1 with: + version: "0.10.9" enable-cache: true - name: Install dependencies run: uv sync --frozen diff --git a/.github/workflows/update-uv-lock.yml b/.github/workflows/update-uv-lock.yml index b1d051f..3812eaa 100644 --- a/.github/workflows/update-uv-lock.yml +++ b/.github/workflows/update-uv-lock.yml @@ -29,6 +29,9 @@ jobs: - name: Install uv uses: astral-sh/setup-uv@5a095e7a2014a4212f075830d4f7277575a9d098 # v7.3.1 + with: + version: "0.10.9" + enable-cache: true - name: Update uv.lock run: uv lock