From dd00e566654e5041eddf23fd37370850c605f02c Mon Sep 17 00:00:00 2001 From: Spoorthi Satheesha <9302666+spoo-bar@users.noreply.github.com> Date: Tue, 2 Jan 2024 19:34:04 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=A4=B7=F0=9F=8F=BB=E2=80=8D=E2=99=80?= =?UTF-8?q?=EF=B8=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/generate-swagger.yaml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/generate-swagger.yaml b/.github/workflows/generate-swagger.yaml index f68ad7bd..4627fba8 100644 --- a/.github/workflows/generate-swagger.yaml +++ b/.github/workflows/generate-swagger.yaml @@ -49,15 +49,13 @@ jobs: permissions: contents: write if: ${{ needs.changes.outputs.proto == 'true' }} + container: ghcr.io/cosmos/proto-builder:0.14.0 + steps: - uses: actions/checkout@v3 - - name: Setup Docker Buildx - uses: docker/setup-buildx-action@v2 - - name: Generate Swagger File run: | - git config --global --add safe.directory /workspace - make proto-swagger-gen + sh ./scripts/protoc-swagger-gen.sh - name: Commit Changes uses: stefanzweifel/git-auto-commit-action@v5