![]() For more information see, the setup-go action. The easiest way to specify a Go version is by using the setup-go action provided by GitHub. Jobs: build: runs-on: ubuntu-latest steps: - uses: - name: Set up Go uses: with: go-version: '1.15' - name: Build run: go build -v. github/workflows directory of your repository. To get started quickly, add the starter workflow to the. For more information, see the Go starter workflow. This guide includes examples that you can use to customize the starter workflow. ![]() GitHub provides a Go starter workflow that should work for most Go projects. For more information, see Getting started with Go. We recommend that you have a basic understanding of the Go language. For more information, see " Workflow syntax for GitHub Actions." You should already be familiar with YAML syntax and how it's used with GitHub Actions. For a full list of up-to-date software and the preinstalled versions of Go, see " About GitHub-hosted runners." Prerequisites # GitHub-hosted runners have a tools cache with preinstalled software, which includes the dependencies for Go. This guide shows you how to build, test, and publish a Go package. ![]() You can see more information about planned future support on the GitHub public roadmap. Note: GitHub-hosted runners are not currently supported on GitHub Enterprise Server.
0 Comments
Leave a Reply. |