Update go client for openAPI changes to reflect (#246) #769
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: YugabyteDB Aeon CLI Build | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
permissions: | |
# Permission for checking out code | |
contents: read | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
env: | |
GOPRIVATE: "github.com/yugabyte/yugabytedb-managed-go-client-internal" | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version-file: 'go.mod' | |
cache: true | |
- run: | | |
eval `ssh-agent -s` | |
ssh-add - <<< '${{ secrets.GO_CLIENT_SECRET }}' | |
git config --global url."[email protected]:".insteadOf https://github.com/ | |
make vet | |
make test | |
make build | |
make clean | |
name: Build CLI |