Skip to content

API Updates

API Updates #69

Workflow file for this run

name: Unit Tests
on:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
push:
branches: [main]
pull_request:
branches: [main]
schedule:
- cron: "35 21 1 * *"
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.19
- name: Build
run: go build -v ./...
- name: Build Examples
run: ./tools/examples-build.sh
shell: bash
- name: Test
run: go test -timeout 300s -v ./...
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}