This repository was archived by the owner on Jun 7, 2026. It is now read-only.
chore(deps): bump uuid from 11.1.0 to 14.0.0 in /packages/gateway #77
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
| name: CI | |
| on: | |
| pull_request: | |
| types: [opened, synchronize, reopened] | |
| permissions: | |
| contents: read | |
| jobs: | |
| ci: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Setup Bun | |
| uses: oven-sh/setup-bun@v2 | |
| with: | |
| bun-version: "1.3.3" | |
| - name: Cache Bun dependencies | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.bun/install/cache | |
| key: bun-${{ runner.os }}-${{ hashFiles('bun.lock') }} | |
| restore-keys: | | |
| bun-${{ runner.os }}- | |
| - name: Install dependencies | |
| run: bun install --frozen-lockfile | |
| - name: Lint | |
| run: bun run lint | |
| - name: Build | |
| run: bun run build | |
| - name: Check OpenAPI spec is up to date | |
| run: | | |
| bun run --filter @patternzones/koine openapi:generate | |
| if ! git diff --quiet docs/openapi.yaml; then | |
| echo "Error: OpenAPI spec is out of date. Run 'bun run --filter @patternzones/koine openapi:generate' and commit the changes." | |
| git diff docs/openapi.yaml | |
| exit 1 | |
| fi | |
| - name: Test with coverage | |
| run: bun run test:coverage | |
| # Python SDK | |
| - name: Setup Python and uv | |
| uses: astral-sh/setup-uv@v4 | |
| with: | |
| python-version: "3.13" | |
| enable-cache: true | |
| cache-dependency-glob: "packages/sdks/python/uv.lock" | |
| - name: Install and lint Python SDK | |
| working-directory: packages/sdks/python | |
| run: | | |
| uv sync --frozen --all-extras | |
| uv run ruff check | |
| uv run ruff format --check | |
| uv run pyright | |
| - name: Test Python SDK | |
| working-directory: packages/sdks/python | |
| run: uv run pytest --cov=koine_sdk --cov-report=lcov:coverage/lcov.info | |
| - name: Upload coverage to Codecov | |
| uses: codecov/codecov-action@v5 | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| files: packages/gateway/coverage/lcov.info,packages/sdks/typescript/coverage/lcov.info,packages/sdks/python/coverage/lcov.info | |
| fail_ci_if_error: false |