A GitHub Action to run Go commands with automatic workspace setup, now deprecated in favor of actions/setup-go.
Golang Action is a GitHub Action that runs Go commands within CI/CD pipelines. It automatically sets up the Go workspace and handles project configuration, making it easier to integrate Go testing and building into GitHub workflows. The project was created when Go projects needed specific `$GOPATH` placement, though this is now deprecated.
Go developers using GitHub Actions for CI/CD who need automated testing, building, or custom command execution in their workflows.
It simplifies Go project integration by automating workspace setup and supporting various configurations like custom import paths and Go Modules. However, the maintainer now recommends using the official actions/setup-go for newer versions.
A GitHub Action to run Go commands
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Automatically sets up the Go workspace at ~/go/src/github.com/<your-name>/<repo>, reducing CI/CD boilerplate for legacy projects that required GOPATH placement.
Designed for when Go projects needed specific GOPATH setup, making it useful for maintaining or migrating older codebases without refactoring.
Supports running any Go command or Makefile target via the args parameter, allowing tailored CI steps like 'make test' or custom scripts.
Allows setting custom import paths with the IMPORT environment variable, ideal for forked repositories where the GitHub path differs.
The maintainer explicitly states it's no longer maintained and recommends the official actions/setup-go, limiting future bug fixes and feature updates.
Only supports Go versions 1.10 to 1.15, making it incompatible with newer releases that include critical security patches and language improvements.
With GOPATH requirements deprecated, the automatic workspace setup is often unnecessary for Go Modules-based projects, adding complexity without benefit.