Skip to content

feat(test): update readme #3

feat(test): update readme

feat(test): update readme #3

Workflow file for this run

name: Go
on: [ push ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
go-version:
- '1.16'
- '1.17'
- '1.18'
- '1.19'
- '1.20'
- '1.21.x'
steps:
- uses: actions/checkout@v4
- name: Setup Go ${{ matrix.go-version }}
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
cache-dependency-path: subdir/go.sum
- name: Install dependencies
run: go mod tidy
- name: Test
run: go test -coverprofile=coverage.txt -covermode=atomic ./...
- name: Codecov
uses: codecov/codecov-action@v3