Skip to content

Bump github.com/openai/openai-go from 0.1.0-alpha.38 to 0.1.0-alpha.39 #24

Bump github.com/openai/openai-go from 0.1.0-alpha.38 to 0.1.0-alpha.39

Bump github.com/openai/openai-go from 0.1.0-alpha.38 to 0.1.0-alpha.39 #24

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}
cancel-in-progress: true
jobs:
test:
name: Test
runs-on: ubuntu-latest
services:
llama32-1b:
image: "maragudk/llama-3.2-1b-instruct-q4_k_m"
ports:
- 8090:8080
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
check-latest: true
- name: Build
run: go build -v ./...
- name: Test
run: go test -v -coverprofile=cover.out -shuffle on ./...
env:
OPENAI_KEY: ${{ secrets.OPENAI_KEY }}
ANTHROPIC_KEY: ${{ secrets.ANTHROPIC_KEY }}
GOOGLE_KEY: ${{ secrets.GOOGLE_KEY }}
evaluate:
name: Evaluate
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
check-latest: true
- name: Evaluate
run: go test -v -shuffle on -run TestEval ./...
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
check-latest: true
- name: Lint
uses: golangci/golangci-lint-action@v6
with:
version: latest