Repository navigation
ci: publish PyPI releases directly instead of via Speakeasy #825
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: PR Validation | |
| on: | |
| pull_request: | |
| paths-ignore: | |
| - .speakeasy/in.openapi.yaml | |
| concurrency: | |
| group: pr-validation-${{ github.event.pull_request.number }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| jobs: | |
| validate: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5.1.0 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@d4b2f3b6ecc6e67c4457f6d3e41ec42d3d0fcb86 # v5.4.2 | |
| with: | |
| enable-cache: true | |
| - name: Build SDK | |
| run: uv build | |
| - name: Type check (mypy) | |
| run: uv run --group dev mypy src | |
| - name: Type check (pyright) | |
| run: uv run --group dev pyright src | |
| - name: Lint (pylint) | |
| run: uv run --group dev pylint src --rcfile pylintrc | |
| - name: Tests (pytest) | |
| run: uv run --group dev pytest |