Repository navigation
Pin uv for the OpenAPI spec validation step - #1713
Merged
Merged
Conversation
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Contributor
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Automations to automatically generate PRs for you. |
Contributor
|
No rebuild needed after merge: the OpenAPI validation step picks up the pinned uv on its next run. |
capy-ai
Bot
requested review from
mogery
and removed request for
erikengervall
October 23, 2026 07:54
mogery
approved these changes
Oct 23, 2026
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Runs the OpenAPI spec validation with uv at a fixed version instead of
pipx runwith the runner's preinstalled pipx and pip.Changes
astral-sh/setup-uvstep pinned to the v10.3.2 commit SHA, withversion: '0.13.4'and caching off, so each run fetches the validator fresh as pipx did.pipx run --spec openapi-spec-validator==0.9.0 openapi-spec-validator ...withuvx --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,
uvxreportsapi-reference/v2-openapi.json: OKand exits 0, matchingpipx runon the same file; an invalid spec exits 1. actionlint passes onchecks.yml.No image rebuild or deploy is needed: this only changes the CI workflow.