Skip to content

Implement workbench policy support #773

Implement workbench policy support

Implement workbench policy support #773

Workflow file for this run

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