diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a4a2f7c..1ce74c2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -10,6 +10,23 @@ on: workflow_dispatch: jobs: + uv-lock-check: + runs-on: ubuntu-latest + name: "UV Lockfile Sync Validation 🔒" + permissions: + contents: read + steps: + - name: Checkout repository + uses: actions/checkout@v5 + with: + persist-credentials: false + + - name: Install uv + uses: astral-sh/setup-uv@v6 + + - name: Check uv.lock sync status + run: uv lock --locked + ruff: runs-on: ubuntu-latest name: "ruff on code" @@ -26,7 +43,7 @@ jobs: src: "." test-regular: - needs: ["ruff"] + needs: ["ruff", "uv-lock-check"] runs-on: ubuntu-latest name: "Tests py${{ matrix.python-version }}/dj${{ matrix.django-version }}/${{ matrix.broker }}" strategy: