From b98fc9417985402ac3289c3e799bcf75d89ad405 Mon Sep 17 00:00:00 2001 From: Holden Date: Fri, 12 Jun 2026 03:43:05 +0000 Subject: [PATCH] ci: remove lockfile verify race condition uv lock --check in a separate job races against the update-lockfile bot. Replace with uv lock inline in release.yml and drop the pre-job from docker-publish.yml entirely. Co-Authored-By: Claude Sonnet 4.6 --- .github/workflows/docker-publish.yml | 15 --------------- .github/workflows/release.yml | 21 ++++++--------------- 2 files changed, 6 insertions(+), 30 deletions(-) diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 2a7b91f..6a19a63 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -15,22 +15,8 @@ env: IMAGE_NAME: sudolulo/winnow jobs: - verify-lockfile: - name: Verify uv.lock is current - runs-on: ubuntu-latest - steps: - - name: Checkout repository - uses: actions/checkout@v4 - - - name: Install uv - uses: astral-sh/setup-uv@v4 - - - name: Check lockfile is up to date - run: uv lock --check - build: name: Build (${{ matrix.platform }}) - needs: verify-lockfile runs-on: ${{ matrix.runner }} strategy: matrix: @@ -140,4 +126,3 @@ jobs: - name: Inspect image run: | docker buildx imagetools inspect ${{ steps.tags.outputs.tags }} - diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0d440d6..81853fd 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,22 +14,8 @@ concurrency: cancel-in-progress: true jobs: - verify-lockfile: - name: Verify uv.lock is current - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v4 - - - name: Install uv - uses: astral-sh/setup-uv@v4 - - - name: Check lockfile is up to date - run: uv lock --check - release: name: Create GitHub Release & Build Image - needs: verify-lockfile runs-on: ubuntu-latest permissions: contents: write @@ -48,6 +34,12 @@ jobs: with: fetch-depth: 0 + - name: Install uv + uses: astral-sh/setup-uv@v4 + + - name: Ensure uv.lock is current + run: uv lock + - name: Set up QEMU uses: docker/setup-qemu-action@v3 @@ -138,4 +130,3 @@ jobs: tags: | ghcr.io/sudolulo/winnow:latest ghcr.io/sudolulo/winnow:${{ steps.tag.outputs.TAG }} -