From a5f294355704100a0f6c3cbe08a5a0b273c0b789 Mon Sep 17 00:00:00 2001 From: Joshua Marsh Date: Mon, 21 Oct 2019 14:27:22 -0500 Subject: [PATCH] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index e8c8725..002e943 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -20,17 +20,20 @@ pr: pool: vmImage: 'ubuntu-latest' -container: - image: golang:1.13 - options: --name ThisContainer +# container: +# image: golang:1.13 +# options: --name ThisContainer steps: +- task: GoTool@0 + inputs: + version: '1.13' - script: | set -x - docker exec ThisContainer -u 0 + # docker exec ThisContainer -u 0 apt-get update - apt-get -y install sudo + # apt-get -y install sudo apt-get install zip -y go version go get -v -t -d ./...