From 9e8ddfa17a7c5e2edd7b628016454e759582d5e4 Mon Sep 17 00:00:00 2001 From: Trim21 Date: Mon, 28 Oct 2024 18:16:35 +0800 Subject: [PATCH] ci: run codegen --- .github/workflows/lint.yaml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 5ea28c3..2141d54 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -47,3 +47,27 @@ jobs: - uses: trim21/setup-poetry@dist/v2 - uses: trim21/install-poetry-project@dist/v2 - uses: trim21/actions/pre-commit@master + + codegen: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + submodules: 'true' + + - uses: actions/setup-python@v5 + with: + python-version: "3.10" + + - uses: trim21/setup-poetry@dist/v2 + - uses: trim21/install-poetry-project@dist/v2 + - name: Install Task + uses: arduino/setup-task@v2 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }}. + + - run: task gen-grpc + + - uses: autofix-ci/action@v1.3.1 + with: + fail-fast: false