feat(ai-proxy): add support for vertex ai provider #24
Workflow file for this run
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: CI / AI Proxy | |
on: | |
pull_request: | |
branches: | |
- "**" | |
paths: | |
- ".github/workflows/ai-proxy-ci.yaml" | |
- "go/ai-proxy/**" | |
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/ai-proxy | |
timeout-minutes: 5 | |
steps: | |
- uses: actions/[email protected] | |
- uses: actions/[email protected] | |
with: | |
go-version-file: go/ai-proxy/go.mod | |
cache: true | |
- run: go mod download | |
- run: PATH=$PATH:$GOPATH/bin make --directory=.. tools | |
- run: PATH=$PATH:$GOPATH/bin make build | |
check: | |
name: Check | |
runs-on: ubuntu-20.04 | |
defaults: | |
run: | |
shell: bash | |
working-directory: go/ai-proxy | |
timeout-minutes: 5 | |
steps: | |
- uses: actions/[email protected] | |
- uses: actions/[email protected] | |
with: | |
go-version-file: go/ai-proxy/go.mod | |
cache: true | |
- run: go mod download | |
- run: PATH=$PATH:$GOPATH/bin make --directory=.. tools | |
- run: PATH=$PATH:$GOPATH/bin make check |