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 }} -