Skip to content

feat: trace

feat: trace #1318

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@v3
- name: Set up Go 1.x
uses: actions/setup-go@v4
with:
go-version: "1.20"
- name: Test
run: 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@v3
with:
file: coverage.txt