diff --git a/.github/workflows/pr-and-push.yml b/.github/workflows/pr-and-push.yml index a9c694c9f..7f2131fb8 100644 --- a/.github/workflows/pr-and-push.yml +++ b/.github/workflows/pr-and-push.yml @@ -23,11 +23,14 @@ jobs: permissions: contents: read steps: - - uses: actions/checkout@v5 + - name: Checkout code + uses: actions/checkout@v5 with: fetch-depth: 0 # We the need the full Git history. - - uses: astral-sh/setup-uv@v6 - - run: | + - name: Setup uv + uses: astral-sh/setup-uv@v6 + - name: Check API breaking changes + run: | if ! uvx griffe check --search src --format github strands --against "${{ github.event.pull_request.base.sha || github.event.before || 'HEAD' }}"; then echo "Breaking API changes detected" exit 1