Skip to content

Improve examples

Improve examples #48

Workflow file for this run

name: Coverage
on:
push:
branches:
- "main"
paths-ignore:
- "**.md"
pull_request:
branches:
- "main"
paths-ignore:
- "**.md"
jobs:
coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.22.x'
- name: Run Coverage
run: go test -race -coverprofile=coverage.txt -covermode=atomic
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}