diff --git a/azure-pipelines.template.yml b/azure-pipelines.template.yml index 72bce26d..eb3e2942 100644 --- a/azure-pipelines.template.yml +++ b/azure-pipelines.template.yml @@ -10,6 +10,9 @@ jobs: steps: - checkout: none + - task: GoTool@0 + inputs: + version: '1.11.2' - script: | go version go get -v -t -d v2ray.com/core/... diff --git a/azure-pipelines.yml b/azure-pipelines.yml index aa3a881a..1fe9f0af 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -16,6 +16,7 @@ jobs: - job: linux_coverage dependsOn: linux + condition: and(succeeded(), ne(variables['Build.Reason'], 'PullRequest')) timeoutInMinutes: 30 pool: