Skip to content

initial action for generating client #1

initial action for generating client

initial action for generating client #1

---
name: Auto generate Client Code
on:
push:
branches: [main]
env:
POETRY_VERSION: "1.8.4"
jobs:
publish-to-pypi:

Check failure on line 13 in .github/workflows/generate_client.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/generate_client.yaml

Invalid workflow file

You have an error in your yaml syntax on line 13
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python + Poetry ${{ env.POETRY_VERSION }}
uses: "./.github/actions/poetry_setup"
with:
python-version: "3.10"
poetry-version: ${{ env.POETRY_VERSION }}
working-directory: ${{ matrix.package.workdir }}
cache-key: release
- name: Install infinity
run: |
pip install libs/infinity_emb[all]
- name: Generate Client
working-directory: libs/client_infinity
run: |
./run_generate_with_hook.sh
- name: Test Generated Client
working-directory: libs/client_infinity
run:
./run_tets_with_hook.sh
- name: "Open a PR"
uses: peter-evans/create-pull-request@v7