Skip to content

add claude-3-5-haiku-20241022 model (#38) #176

add claude-3-5-haiku-20241022 model (#38)

add claude-3-5-haiku-20241022 model (#38) #176

Workflow file for this run

name: Sanity check
on:
- push
- pull_request
jobs:
prcheck:
name: Sanity check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Run tests
run: go test -race -covermode=atomic -coverprofile=coverage.out -v .
- name: Upload coverage reports to Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: liushuangls/go-anthropic
- name: Golines format check
run: |
go install github.com/segmentio/golines@latest
change=$(golines --dry-run .)
if [ -n "$change" ]; then
echo "::error:: golines needs to be run, and changes committed. Please run:"
echo "::error:: go install github.com/segmentio/golines@latest"
echo "::error:: golines -w ."
echo "$change"
exit 1
fi