Skip to content

release: 0.2.0-alpha.5 #280

release: 0.2.0-alpha.5

release: 0.2.0-alpha.5 #280

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
- next
jobs:
lint:
name: lint
runs-on: ubuntu-latest
if: github.repository == 'anthropics/anthropic-sdk-go'
steps:
- uses: actions/checkout@v4
- name: Setup go
uses: actions/setup-go@v5
with:
go-version-file: ./go.mod
- name: Run lints
run: ./scripts/lint
test:
name: test
runs-on: ubuntu-latest
if: github.repository == 'anthropics/anthropic-sdk-go'
steps:
- uses: actions/checkout@v4
- name: Setup go
uses: actions/setup-go@v5
with:
go-version-file: ./go.mod
- name: Bootstrap
run: ./scripts/bootstrap
- name: Run tests
run: ./scripts/test