Skip to content

feat(test): update

feat(test): update #10

Workflow file for this run

name: Go
on: [ push ]
jobs:
build:
strategy:
matrix:
os: [windows-latest]
go-version:
- '1.16'
runs-on: ${{ matrix.os }}
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