Skip to content

Commit

Permalink
Pre install dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
wilsonehusin committed Apr 3, 2024
1 parent 8bb105c commit 131e8e5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/sync.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ jobs:
- name: Go version
run: go version

- name: Binary dependencies
run: |
bin/deps.sh
echo "$(pwd)/bin" >> $GITHUB_PATH
- name: Regenerate Swagger code
run: |
bin/update-swagger-doc.sh
Expand Down
8 changes: 0 additions & 8 deletions bin/regenerate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,7 @@ repo_root=$(git rev-parse --show-toplevel)

set -x

pwd

pushd "${repo_root}" > /dev/null
pwd
bin/deps.sh github.com/go-swagger/go-swagger
ls bin
swagger version

rm -rf client models
bin/swagger generate client -f swagger_doc.json

go mod tidy
Expand Down

0 comments on commit 131e8e5

Please sign in to comment.