Skip to content

Commit

Permalink
Update CI (#322)
Browse files Browse the repository at this point in the history
* Update CI

Update to latest two versions of Go.
Update tools used in CI.

* use latest azure-amqp
  • Loading branch information
jhendrixMSFT committed Mar 1, 2024
1 parent a819335 commit 24969a1
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ jobs:
pool.name: 'azsdk-pool-mms-ubuntu-2004-general'
vm.image: 'ubuntu-20.04'
go.version: '1.18.10'
Linux_Go120:
Linux_Go121:
pool.name: 'azsdk-pool-mms-ubuntu-2004-general'
vm.image: 'ubuntu-20.04'
go.version: '1.20.7'
Linux_Go121:
go.version: '1.21.7'
Linux_Go122:
pool.name: 'azsdk-pool-mms-ubuntu-2004-general'
vm.image: 'ubuntu-20.04'
go.version: '1.21.0'
go.version: '1.22.0'

pool:
name: '$(pool.name)'
Expand All @@ -35,14 +35,14 @@ jobs:
set -e
export gopathbin=$(go env GOPATH)/bin
echo "##vso[task.prependpath]$gopathbin"
go install github.com/jstemmer/go-junit-report@v0.9.1
go install github.com/jstemmer/go-junit-report/v2@v2.1.0
go install github.com/axw/gocov/gocov@v1.1.0
go install github.com/AlekSi/gocov-xml@v1.0.0
go install github.com/matm/gocov-html/cmd/gocov-html@v1.2.0
go install github.com/AlekSi/gocov-xml@v1.1.0
go install github.com/matm/gocov-html/cmd/gocov-html@v1.4.0
displayName: 'Install Dependencies'
- script: |
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.54.2
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.56.2
golangci-lint --version
golangci-lint run
displayName: 'Install and Run GoLintCLI.'
Expand All @@ -64,7 +64,7 @@ jobs:

- script: |
git clone https://github.com/Azure/azure-amqp $(Pipeline.Workspace)/azure-amqp
git checkout v2.6.0
git checkout v2.6.5
pushd $(Pipeline.Workspace)/azure-amqp/test/TestAmqpBroker
dotnet restore
dotnet build
Expand Down

0 comments on commit 24969a1

Please sign in to comment.