diff --git a/.github/workflows/check.yaml b/.github/workflows/check.yaml index 41c1ed3..5216382 100644 --- a/.github/workflows/check.yaml +++ b/.github/workflows/check.yaml @@ -62,5 +62,11 @@ jobs: uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0 with: python-version: "3.14" + - name: Use local whoowns package + run: echo "whoowns @ file://${PWD}/packages/whoowns" > constraints-e2e.txt - name: Run ${{ matrix.tool }} try repo + env: + # Do not set UV_CONSTRAINT here: prek/uv already resolves whoowns from the copied try-repo workspace. + # Constraining uv to the original checkout creates conflicting file URLs for the same package. + PIP_CONSTRAINT: ${{ github.workspace }}/constraints-e2e.txt run: SKIP=check-jira-reference-in-todo,go-revive,go-fmt,go-imports,check-number-of-lines-count uvx ${{ matrix.tool }} try-repo "$PWD" --all-files --color=always --verbose