Skip to content

ci: add workflows with pr #1

ci: add workflows with pr

ci: add workflows with pr #1

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@v2
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: '1.21'
- name: Run tests
run: go test -race -covermode=atomic -coverprofile=coverage.out -v .
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4.0.1
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: liushuangls/go-anthropic