github · GitHub Actions Docs
Actions Building and testing Go - GitHub Docs
A tutorial for setting up a GitHub Actions workflow to automate the building and testing of Go applications.
Derived skill
Files assembled from official documentation
Viewing SKILL.md
Actions Building and testing Go - GitHub Docs
A tutorial for setting up a GitHub Actions workflow to automate the building and testing of Go applications.
When To Use
Use when you need to configure a GitHub Actions workflow to automatically compile and run tests for a Go-based repository.
Reference Files
| File | Contains | Use For |
|---|---|---|
SKILL.md | Entry point: scope, routing table, and workflow. | Start here. |
docs/actions-build-and-test-go-building-testing-github-docs-workflow-guide.md | A tutorial guide on creating a GitHub Actions workflow to build and test Go projects. | Questions about a tutorial guide on creating a GitHub Actions workflow to build and test Go projects. |
examples/actions-build-and-test-go-building-testing-github-docs-github-actions-go.text | A GitHub Actions workflow YAML configuration that uses a matrix strategy to build and test Go applications across multiple Go versions. | Exact payloads, commands, or snippets shown in A GitHub Actions workflow YAML configuration that uses a matrix strategy to build and test Go applications across mul... |
examples/actions-build-and-test-go-building-testing-github-docs-github-actions-go-2.text | A GitHub Actions workflow configuration demonstrating how to set up a Go environment using the actions/setup-go action. | Exact payloads, commands, or snippets shown in A GitHub Actions workflow configuration demonstrating how to set up a Go environment using the actions/setup-go action. |
examples/actions-build-and-test-go-building-testing-github-docs-github-actions-go-3.text | A GitHub Actions workflow YAML configuration demonstrating how to set up a Go environment, install dependencies, and run tests. | Exact payloads, commands, or snippets shown in A GitHub Actions workflow YAML configuration demonstrating how to set up a Go environment, install dependencies, and... |
examples/actions-build-and-test-go-building-testing-github-docs-github-actions-go-4.text | A GitHub Actions workflow configuration demonstrating how to set up a Go environment and run build and test commands. | Exact payloads, commands, or snippets shown in A GitHub Actions workflow configuration demonstrating how to set up a Go environment and run build and test commands. |
examples/actions-build-and-test-go-building-testing-github-docs-github-actions-go-5.text | A GitHub Actions workflow YAML configuration for checking out code, setting up a Go environment, installing dependencies, building, and testing a Go project. | Exact payloads, commands, or snippets shown in A GitHub Actions workflow YAML configuration for checking out code, setting up a Go environment, installing dependenc... |
examples/actions-build-and-test-go-building-testing-github-docs-github-actions-go-6.text | A GitHub Actions workflow YAML configuration that sets up a Go environment, installs dependencies, and runs tests across multiple Go versions using a matrix strategy. | Exact payloads, commands, or snippets shown in A GitHub Actions workflow YAML configuration that sets up a Go environment, installs dependencies, and runs tests acr... |
What This Skill Covers
-
- GitHub Actions / - Tutorials / - Build and test code / - Go
- Main sections:
In this article,Introduction,Prerequisites,Using a Go workflow template,Specifying a Go version.
Workflow
- Open the most relevant file under
docs/for the exact documented workflow and wording. - Open
schemas/files for exact structured contracts. - Open
examples/files for concrete requests, commands, snippets, and manifests. - Do not add behavior or configuration that is not present in the attached source files.
Canonical source: https://docs.github.com/en/actions/tutorials/build-and-test-code/go
