Skip to content

build(deps): bump github.com/openai/openai-go from 0.1.0-alpha.29 to 0.1.0-alpha.30 #183

build(deps): bump github.com/openai/openai-go from 0.1.0-alpha.29 to 0.1.0-alpha.30

build(deps): bump github.com/openai/openai-go from 0.1.0-alpha.29 to 0.1.0-alpha.30 #183

Workflow file for this run

name: Test
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
if: ${{ github.actor != 'dependabot[bot]' }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ windows-latest, ubuntu-latest, macos-latest ]
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: stable
- name: Test Code
run: |
go build -v ./...
go test -v -race ./...
ai:
if: ${{ github.actor != 'dependabot[bot]' }}
runs-on: ubuntu-latest
needs: test
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: stable
- name: Test Code
env:
CHATGPT_API_KEY: ${{ secrets.CHATGPT_API_KEY }}
CHATGPT_PROXY: ${{ secrets.CHATGPT_PROXY }}
CHATGPT_ENDPOINT: ${{ secrets.CHATGPT_ENDPOINT }}
CHATGPT_MODEL: ${{ secrets.CHATGPT_MODEL }}
GEMINI_API_KEY: ${{ secrets.GEMINI_API_KEY }}
GEMINI_PROXY: ${{ secrets.GEMINI_PROXY }}
GEMINI_ENDPOINT: ${{ secrets.GEMINI_ENDPOINT }}
GEMINI_MODEL: ${{ secrets.GEMINI_MODEL }}
run: go test -v