feat(cloud-query): add python interpeter tool to tool query grpc server #777
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: CI / Cloud Query | |
| on: | |
| push: | |
| branches: | |
| - "master" | |
| paths: | |
| - ".github/workflows/cloud-query-ci.yaml" | |
| - "go/cloud-query/**" | |
| pull_request: | |
| branches: | |
| - "**" | |
| paths: | |
| - ".github/workflows/cloud-query-ci.yaml" | |
| - "go/cloud-query/**" | |
| permissions: | |
| contents: read | |
| env: | |
| GOPATH: /home/runner/go/ | |
| GOPROXY: "https://proxy.golang.org" | |
| jobs: | |
| build: | |
| name: Build | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| shell: bash | |
| working-directory: go/cloud-query | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-go@v6 | |
| with: | |
| go-version-file: go/cloud-query/go.mod | |
| cache: true | |
| - run: go mod download | |
| - run: PATH=$PATH:$GOPATH/bin make build | |
| test: | |
| name: Unit test | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| shell: bash | |
| working-directory: go/cloud-query | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-go@v6 | |
| with: | |
| go-version-file: go/cloud-query/go.mod | |
| cache: true | |
| - run: go mod download | |
| - run: PATH=$PATH:$GOPATH/bin make test |