🌿 Fern Regeneration -- November 11, 2024 #38
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: {} | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Go 1.x.x | |
uses: actions/setup-go@v4 | |
with: | |
go-version: 1.x.x | |
- name: Install testing dependencies here so we dont have to edit the go.mod file | |
run: | | |
go get . | |
go get golang.org/x/tools/go/[email protected] | |
go get golang.org/x/[email protected] | |
go get golang.org/x/[email protected] | |
- name: Build | |
run: go build -v ./... | |
- name: Test with the Go CLI | |
run: go test -v ./... | |
env: | |
COHERE_API_KEY: ${{ secrets.COHERE_API_KEY }} | |