Add error handling for missing required fields in passed structs #251
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 | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: "1.21.x" | |
- name: Install dependencies | |
run: | | |
go get ./pinecone | |
- name: Run tests | |
run: go test -count=1 -v ./pinecone | |
env: | |
PINECONE_API_KEY: ${{ secrets.API_KEY }} |