Skip to content

doc(README.md): fix import package name #16

doc(README.md): fix import package name

doc(README.md): fix import package name #16

Workflow file for this run

name: Go Test
on:
push:
branches:
- master
pull_request:
branches:
- master
env:
GOPROXY: "https://proxy.golang.org"
jobs:
test:
name: "go test"
strategy:
matrix:
go-version: [ 1.18.x, 1.19.x, 1.20.x, 1.21.x, 1.22.x, 1.23.x ]
platform: [ ubuntu-latest, windows-latest, macos-latest ]
runs-on: ${{ matrix.platform }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- run: go version
- name: Run tests
run: go test ./... -v -covermode=atomic -race -coverprofile=coverage.txt
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}