Skip to content

Always check for the latest Go version #11

Always check for the latest Go version

Always check for the latest Go version #11

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"