Skip to content

Pin uv for the OpenAPI spec validation step - #1713

Merged
mogery merged 1 commit into
mainfrom
ci/uvx-openapi-validator
Oct 23, 2026
Merged

mogery merged 1 commit into
mainfrom
ci/uvx-openapi-validator

Conversation

@dtaivpp

@dtaivpp dtaivpp commented Oct 22, 2026

Copy link
Copy Markdown
Member

Runs the OpenAPI spec validation with uv at a fixed version instead of pipx run with the runner's preinstalled pipx and pip.

Changes

  • Add an astral-sh/setup-uv step pinned to the v10.3.2 commit SHA, with version: '0.13.4' and caching off, so each run fetches the validator fresh as pipx did.
  • Replace pipx run --spec openapi-spec-validator==0.9.0 openapi-spec-validator ... with uvx --from openapi-spec-validator==0.9.0 openapi-spec-validator .... The validator version, the spec it checks and the exit code are unchanged.

Verification

Locally with uv 0.13.4, uvx reports api-reference/v2-openapi.json: OK and exits 0, matching pipx run on the same file; an invalid spec exits 1. actionlint passes on checks.yml.

No image rebuild or deploy is needed: this only changes the CI workflow.

Open in Capy

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
@mintlify

mintlify Bot commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
firecrawl 🟢 Ready View Preview Oct 22, 2026, 10:36 PM

💡 Tip: Enable Automations to automatically generate PRs for you.

@capy-ai

capy-ai Bot commented Oct 22, 2026

Copy link
Copy Markdown
Contributor

No rebuild needed after merge: the OpenAPI validation step picks up the pinned uv on its next run.

@capy-ai
capy-ai Bot requested review from mogery and removed request for erikengervall October 23, 2026 07:54
@mogery
mogery merged commit 74e0a72 into main Oct 23, 2026
4 checks passed

This branch was successfully deployed

1 active deployment
staging — ed11278c Deployed Oct 22, 2026 by mintlify[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants