Skip to content

fix: return an error if data cannot be unmarshal as FunctionCall #2061

fix: return an error if data cannot be unmarshal as FunctionCall

fix: return an error if data cannot be unmarshal as FunctionCall #2061

Workflow file for this run

name: Go
on:
push:
branches: [master, next, gh]
pull_request:
branches: [master, next, gh]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go 1.x
uses: actions/setup-go@v5
with:
go-version: "1.21"
- name: Test
run: CI=true go test -v -race -coverprofile=coverage.txt -covermode=atomic $(go list ./... | grep -v /example)
- name: Build
run: go build $(go list ./... | grep -v /example)
- name: Upload coverage
uses: codecov/codecov-action@v4
with:
file: coverage.txt
token: ${{ secrets.CODECOV_TOKEN }}