From ed11278c42addd7b9b004232bf4d9a01e0774c22 Mon Sep 17 00:00:00 2001 From: dtaivpp <17506770+dtaivpp@users.noreply.github.com> Date: Thu, 22 Oct 2026 22:34:09 +0000 Subject: [PATCH] ci: run openapi-spec-validator with a pinned uv Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> --- .github/workflows/checks.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 1df795d94..1bfd03485 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -62,10 +62,16 @@ jobs: with: node-version: '22' + - name: Set up uv + uses: astral-sh/setup-uv@07a047e608db84b3d8c06cd9a7c7dcc9c355c18e # v10.3.2 + with: + version: '0.13.4' + enable-cache: false + # Third-party directories import the published v2 spec, so it must pass # strict validation, not only Mintlify's lenient parser. - name: Validate the v2 spec with openapi-spec-validator - run: pipx run --spec openapi-spec-validator==0.9.0 openapi-spec-validator api-reference/v2-openapi.json + run: uvx --from openapi-spec-validator==0.9.0 openapi-spec-validator api-reference/v2-openapi.json - name: Lint the v2 spec with Redocly run: npx --yes @redocly/cli@2.66.0 lint api-reference/v2-openapi.json