From 255971ee4132e716c53017b3f445354a225c6182 Mon Sep 17 00:00:00 2001 From: Ahsan Date: Tue, 3 Feb 2026 21:55:14 +0600 Subject: [PATCH 1/3] Fix workflow: use build-api-spec instead of pull-api --- .github/workflows/go.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 5a9aa22..acbd7f3 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -27,7 +27,7 @@ jobs: run: task init - name: Pull latest spec - run: task pull-api + run: task build-api-spec - name: Generate SDK run: task build From db6ea1edb2970dbf17a1a5565919a78811f56430 Mon Sep 17 00:00:00 2001 From: Ahsan Date: Tue, 3 Feb 2026 22:00:32 +0600 Subject: [PATCH 2/3] Fix build-api-spec: create artifacts directory before downloading spec --- Taskfile.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Taskfile.yaml b/Taskfile.yaml index fdd655f..e781582 100644 --- a/Taskfile.yaml +++ b/Taskfile.yaml @@ -72,6 +72,7 @@ tasks: # language=bash - | echo -n "Pulling the latest OpenAPI spec... " + mkdir -p "{{.DIR_ARTIFACTS}}" curl -s "${HYPERSTACK_API_SPEC_ADDRESS}" > "{{.API_SPEC_PATH}}" echo "done" echo -n "Fixing api spec... " From c037bf65b8d69e3a30a95ed1b2cb9fea4516838d Mon Sep 17 00:00:00 2001 From: Ahsan Date: Tue, 3 Feb 2026 22:05:34 +0600 Subject: [PATCH 3/3] Add Python setup and install canonicaljson dependency --- .github/workflows/go.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index acbd7f3..6d64b33 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -5,6 +5,7 @@ on: branches: [ main ] pull_request: branches: [ main ] + workflow_dispatch: # Jobs build jobs: @@ -23,6 +24,15 @@ jobs: - name: Install Task uses: arduino/setup-task@v2 + - name: Setup Python + uses: actions/setup-python@v4 + with: + python-version: '3.11' + + - name: Install Python dependencies + run: | + pip install canonicaljson + - name: Get dependencies run: task init