Skip to content

Use go install instead of go get #16

Use go install instead of go get

Use go install instead of go get #16

Workflow file for this run

---
name: test
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
concurrency:
group: "${{ github.workflow }}-$${{ github.pull_request.number || github.run_id }}"
cancel-in-progress: true
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: "go.mod"
check-latest: true
- run: go test -v -coverprofile="coverage.out" ./...
- run: go tool cover -func="coverage.out"