ZEA-4557: CLI: Use API token pattern instead of OAuth in CLI #218
Workflow file for this run
This file contains hidden or 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: build-test | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| jobs: | |
| build-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - uses: actions/setup-go@v4 | |
| with: | |
| go-version: "1.22" | |
| - name: install mockery | |
| run: go install github.com/vektra/mockery/v2@v2.43.2 | |
| - name: generate mocks | |
| run: make mock | |
| - name: test | |
| run: make test | |
| - name: build | |
| run: make build |