What problem does it solve?
Automates building, testing, linting, and releasing Go projects in GitHub Actions pipelines, using setup-go, Go version matrices, dependency caching, and monorepo support to ensure fast, reliable CI.
Core Features & Use Cases
- Go version management: Matrix testing across Go versions using go.mod/go.work as the source of truth.
- Efficient caching: Caches Go module downloads to speed up consecutive runs.
- Workflow templates: Ready-to-use patterns for common CI steps like checkout, setup-go, build, test, and artifact uploads, with monorepo support.
- Use Case: Use in a project that needs to validate builds across multiple Go majors/minors, or to verify license checks or code quality in CI.
Quick Start
Create a Go CI workflow that uses actions/setup-go with a version matrix to build and test across Go versions.