From b0610cac8e92fc13ac807498d46b4eb08ae1b6da Mon Sep 17 00:00:00 2001 From: sasha-gitg <44654632+sasha-gitg@users.noreply.github.com> Date: Mon, 12 Jan 2026 17:19:10 -0500 Subject: [PATCH] Update breaking-change-detector.yml --- .../workflows/breaking-change-detector.yml | 75 ++++++++++++------- 1 file changed, 48 insertions(+), 27 deletions(-) diff --git a/.github/workflows/breaking-change-detector.yml b/.github/workflows/breaking-change-detector.yml index affb8104..8dbabe7f 100644 --- a/.github/workflows/breaking-change-detector.yml +++ b/.github/workflows/breaking-change-detector.yml @@ -14,65 +14,86 @@ jobs: - name: Checkout code uses: actions/checkout@v4 with: - fetch-depth: 0 + fetch-depth: 0 # Required for accessing the main branch history - name: Set up Python uses: actions/setup-python@v5 with: python-version: '3.10' - - name: Install dependencies + - name: Install the latest version of uv uses: astral-sh/setup-uv@v5 - with: - version: "latest" - - name: Install project + - name: Install dependencies + # Syncing installs the package and its dependencies (populating google.* namespace) + # Installing 'griffe' ensures the tool is available in the environment run: | uv sync --extra test uv pip install griffe - name: Run Breaking Change Detection + # Uses 'uv run python' to execute in the environment with all dependencies installed run: | uv run python - <