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