[GithubActions] Update SDK-Typescript 1.9.1 SDK-Python 0.11.0 (#27) #23
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: Build and test | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| markdown-link-check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - uses: gaurav-nelson/github-action-markdown-link-check@v1 | |
| with: | |
| use-quiet-mode: 'yes' | |
| build-node: | |
| # prevent from running on forks | |
| if: github.repository_owner == 'restatedev' | |
| runs-on: ubuntu-latest | |
| env: | |
| RESTATE_DISABLE_TELEMETRY: "true" | |
| strategy: | |
| matrix: | |
| node-version: [20.x] | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Pull restate-server docker image | |
| run: docker pull docker.io/restatedev/restate:latest | |
| - name: Use Node.js ${{ matrix.node-version }} | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| registry-url: "https://registry.npmjs.org" | |
| - name: Run tests | |
| run: ./.tools/run_node_tests.sh | |
| build-py: | |
| # prevent from running on forks | |
| if: github.repository_owner == 'restatedev' | |
| runs-on: ubuntu-latest | |
| env: | |
| RESTATE_DISABLE_TELEMETRY: "true" | |
| strategy: | |
| matrix: | |
| python: ["3.12"] | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python }} | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v4 | |
| - name: Run tests | |
| run: ./.tools/run_python_tests.sh |