From 87b9199f11745008a74ed1410fd9dc87dea9402f Mon Sep 17 00:00:00 2001 From: Joel Hendrix Date: Mon, 28 Aug 2023 06:56:16 -0700 Subject: [PATCH] Update CI with latest versions of Go (#305) Updated golangci-lint to latest version. --- azure-pipelines.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index c00680c..dc98eda 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -11,15 +11,15 @@ jobs: Linux_Go118: pool.name: 'azsdk-pool-mms-ubuntu-2004-general' vm.image: 'ubuntu-20.04' - go.version: '1.18.8' - Linux_Go119: - pool.name: 'azsdk-pool-mms-ubuntu-2004-general' - vm.image: 'ubuntu-20.04' - go.version: '1.19.3' + go.version: '1.18.10' Linux_Go120: pool.name: 'azsdk-pool-mms-ubuntu-2004-general' vm.image: 'ubuntu-20.04' - go.version: '1.20' + go.version: '1.20.7' + Linux_Go121: + pool.name: 'azsdk-pool-mms-ubuntu-2004-general' + vm.image: 'ubuntu-20.04' + go.version: '1.21.0' pool: name: '$(pool.name)' @@ -42,7 +42,7 @@ jobs: displayName: 'Install Dependencies' - script: | - curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.51.1 + curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.54.2 golangci-lint --version golangci-lint run displayName: 'Install and Run GoLintCLI.'