go-gh

Automate Go project builds and tests in GitHub Actions workflows.

1|Updated Apr 3, 2026
One-click install
npx skills add https://github.com/nq-rdl/agent-extensions --skill go-gh
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: go-gh
Source: https://github.com/nq-rdl/agent-extensions/tree/main/skills/go-gh
Command: npx skills add https://github.com/nq-rdl/agent-extensions --skill go-gh

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

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.

Frequently Asked Questions about go-gh

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up a Go CI workflow in GitHub Actions with version matrix testing?

Yes, actions/setup-go supports monorepo layouts by allowing you to configure module paths. It handles caching and artifact uploads within these complex structures to ensure fast, reliable CI across your repositories.

Does actions/setup-go handle Go module caching automatically in CI pipelines?

Yes, actions/setup-go supports matrix testing across multiple Go versions. It uses your go.mod or go.work file as the source of truth to validate builds across different Go majors and minors simultaneously.

Can I use this GitHub Actions workflow for a monorepo layout?

Yes, this Skill supports actions/setup-go v5 and above. It is designed to work with modern GitHub Actions workflows, reading version hints from go.mod or go.work to manage your setup.

What Go versions are supported by actions/setup-go v5 in CI?

Standard GitHub Actions runners provide the environment for running Go CI workflows. No external dependencies are required beyond the repository itself, as the workflow uses actions/setup-go for version management and caching.