From 588ea70481474b8d89ac75df5eb0d0a80bf6da04 Mon Sep 17 00:00:00 2001 From: l198881 <82917144+l198881@users.noreply.github.com> Date: Tue, 18 May 2021 08:23:55 -0300 Subject: [PATCH] Update azure-pipelines-2.yml --- azure-pipelines-2.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/azure-pipelines-2.yml b/azure-pipelines-2.yml index e188faf..693fba8 100644 --- a/azure-pipelines-2.yml +++ b/azure-pipelines-2.yml @@ -7,10 +7,10 @@ trigger: - main pool: - vmImage: ubuntu-latest + vmImage: ubuntu-latest-v22 variables: - GOBIN: '$(GOPATH)/binj' # Go binaries path + GOBIN: '$(GOPATH)/bin' # Go binaries path GOROOT: '/usr/local/go1.11' # Go installation path GOPATH: '$(system.defaultWorkingDirectory)/gopath' # Go workspace path modulePath: '$(GOPATH)/src/github.com/$(build.repository.name)' # Path to the module's code @@ -33,7 +33,7 @@ steps: if [ -f Gopkg.toml ]; then curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh dep ensure - fi + If go build -v . workingDirectory: '$(modulePath)' displayName: 'Get dependencies, then build'