![]() Starting with Go 1.11, you no longer need to define a $GOPATH environment, set up a workspace layout, or use the dep module. For the exact versions of pre-installed Go, refer to Microsoft-hosted agents in Azure Pipelines. Modern versions of Go are pre-installed on Microsoft-hosted agents. ![]() Update the following snippet in your azure-pipelines.yml file to select the appropriate image. You can use Linux, macOS, or Windows agents to run your builds. You can use Azure Pipelines to build your Go projects without setting up any infrastructure of your own. See the following sections to learn some of the more common ways to customize your pipeline. Your new pipeline appears, with the azure-pipelines.yml YAML file ready to be configured. When the Configure tab appears, select Go. You might be redirected to GitHub to install the Azure Pipelines app. When you see the list of repositories, select your repository. You might be redirected to GitHub to sign in. Go to Pipelines, and then select New pipeline.ĭo the steps of the wizard by first selecting GitHub as the location of your source code. Sign-in to your Azure DevOps organization and go to your project. Otherwise, select the New Project button in the upper-right corner of the dashboard. If you don't have any projects in your organization, you see a Create a project to get started screen. Within your selected organization, create a project. After you sign in, your browser goes to and displays your Azure DevOps dashboard. New to Azure Pipelines? If so, then we recommend you try this section before moving on to other sections. Use a pipeline to automatically build and test your Go projects.
0 Comments
Leave a Reply. |