# mvdan/github-actions-golang

GitHub Actions as CI for Go

Repository: https://github.com/mvdan/github-actions-golang
Canonical: https://ross.abutalabs.com/products/github-actions-golang
Language: Go
License: BSD-3-Clause
License Family: permissive
Topics: github-actions, ci, cd, golang, go, modules, github
Last push: 2026-08-20T08:04:19+00:00

## Health v2 (maintenance only)
Score: 76/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 98, release rhythm 35, longevity 100
- inputs: {"age_days": 2556, "days_push": 13, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1048, forks 74 (observed 2026-08-28T04:03:22.552722+00:00)

## What it is
A documentation guide showing how to set up GitHub Actions CI/CD for Go projects, with example workflow YAML files and FAQs. It covers build matrices across Go versions and operating systems, caching with actions/setup-go, environment variables, and conditional steps.

## Use cases
- set up CI for a Go repository with GitHub Actions
- test a Go module on multiple Go versions and operating systems
- cache Go module and build caches between CI builds
- set environment variables in GitHub Actions workflows
- run workflow steps conditionally in GitHub Actions
- speed up Go CI pipelines with GOCACHE and GOMODCACHE caching

## When to choose
- you are configuring GitHub Actions CI for a Go project
- you want canonical example workflow YAML for testing Go across a version/OS matrix
- you need guidance on caching Go builds or setting env vars in Actions

## When to avoid
- you use a CI system other than GitHub Actions
- you need a reusable GitHub Action binary or tool rather than documentation
- your project is not written in Go

## Facets
- artifact type: learning-resource
- maturity: active
- function: ci-cd, developer-tools, documentation
- domain: developer-tools, documentation, version-control
- platform: windows, cloud
- tags: github-actions, golang, ci, workflows, setup-go, build-caching, matrix-builds, devops, linux, macos

## Member repositories
- mvdan/github-actions-golang (main) score 76

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:22.552722+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:00:48.182798+00:00, confidence not recorded.
  - readme: https://github.com/mvdan/github-actions-golang (fetched 2026-08-28T04:03:22.552722+00:00, sha dd8a929aaada)
- Data as of 2026-08-30T08:39:29.467469+00:00.
