Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:

# Jobs build
jobs:
Expand All @@ -23,11 +24,20 @@ 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

- name: Pull latest spec
run: task pull-api
run: task build-api-spec

- name: Generate SDK
run: task build
Expand Down
1 change: 1 addition & 0 deletions Taskfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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... "
Expand Down