Skip to content

add Assertf

add Assertf #85

Workflow file for this run

name: Go
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.21"
- name: Run tests with coverage
run: go test -race -coverprofile=coverage.txt -covermode=atomic ./...
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
if: github.event_name == 'push'
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage.txt
verbose: true