Skip to content

Commit 57c44f3

Browse files
authored
Switch back to official gocov repo (#18189)
* Switch back to official gocov repo Bump linter to latest version. * enable dependency check * bump latest Go 1.18 * fix misspelling
1 parent 1e9e384 commit 57c44f3

9 files changed

+12
-13
lines changed

azure-pipelines.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
go.version: '1.17.8'
2424
Linux_Go118:
2525
pool.name: azsdk-pool-mms-ubuntu-2004-general
26-
go.version: '1.18'
26+
go.version: '1.18.2'
2727

2828
pool:
2929
name: $(pool.name)

eng/pipelines/templates/jobs/archetype-sdk-client-samples.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ stages:
1818
Linux_Go118:
1919
pool.name: azsdk-pool-mms-ubuntu-2004-general
2020
image.name: MMSUbuntu20.04
21-
go.version: '1.18'
21+
go.version: '1.18.2'
2222
Windows_Go118:
2323
pool.name: azsdk-pool-mms-win-2019-general
2424
image.name: MMS2019
25-
go.version: '1.18'
25+
go.version: '1.18.2'
2626
pool:
2727
name: $(pool.name)
2828
vmImage: $(image.name)
@@ -55,7 +55,7 @@ stages:
5555
steps:
5656
- task: GoTool@0
5757
inputs:
58-
version: '1.18'
58+
version: '1.18.2'
5959
displayName: "Select Go Version"
6060

6161
- template: ../steps/create-go-workspace.yml

eng/pipelines/templates/jobs/archetype-sdk-client.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -85,11 +85,11 @@ stages:
8585
Linux_Go118:
8686
pool.name: azsdk-pool-mms-ubuntu-2004-general
8787
image.name: MMSUbuntu20.04
88-
go.version: '1.18'
88+
go.version: '1.18.2'
8989
Windows_Go118:
9090
pool.name: azsdk-pool-mms-win-2019-general
9191
image.name: MMS2019
92-
go.version: '1.18'
92+
go.version: '1.18.2'
9393
generate.bom: true
9494
pool:
9595
name: $(pool.name)
@@ -133,7 +133,7 @@ stages:
133133

134134
- task: GoTool@0
135135
inputs:
136-
version: '1.18'
136+
version: '1.18.2'
137137
displayName: "Select Go Version"
138138

139139
- template: ../steps/create-go-workspace.yml

eng/pipelines/templates/jobs/mgmt-mock-test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
displayName: 'Install autorest'
1515
- task: GoTool@0
1616
inputs:
17-
version: '1.18'
17+
version: '1.18.2'
1818
displayName: "Select Go Version"
1919

2020
- template: /eng/pipelines/templates/steps/create-go-workspace.yml

eng/pipelines/templates/stages/platform-matrix.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
}
1212
},
1313
"GoVersion": [
14-
"1.18"
14+
"1.18.2"
1515
]
1616
}
1717
}

eng/pipelines/templates/steps/analyze.yml

-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ steps:
1010

1111
- task: Powershell@2
1212
displayName: 'Dependency Check'
13-
continueOnError: true
1413
env:
1514
GO111MODULE: 'on'
1615
inputs:

eng/pipelines/templates/steps/build-test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ steps:
4141

4242
- pwsh: |
4343
go install github.com/jstemmer/go-junit-report@v0.9.1
44-
go install github.com/jhendrixMSFT/gocov/gocov@v1.0.1-0.20220325195445-df8497555dba
44+
go install github.com/axw/gocov/gocov@v1.1.0
4545
go install github.com/AlekSi/gocov-xml@v1.0.0
4646
go install github.com/matm/gocov-html@v0.0.0-20200509184451-71874e2e203b
4747
displayName: "Install Coverage and Junit Dependencies"

eng/pipelines/templates/variables/globals.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
variables:
2-
GoLintCLIVersion: 'v1.45.2'
2+
GoLintCLIVersion: 'v1.46.2'
33
Package.EnableSBOMSigning: true
44
# Enable go native component governance detection
55
# https://docs.opensource.microsoft.com/tools/cg/index.html

eng/scripts/MgmtTestLib.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ function TestAndGenerateReport($dir)
298298
Set-Location $dir
299299
# dependencies for go coverage report generation
300300
go install github.com/jstemmer/go-junit-report@v0.9.1
301-
go install github.com/jhendrixMSFT/gocov/gocov@v1.0.1-0.20220325195445-df8497555dba
301+
go install github.com/axw/gocov/gocov@v1.1.0
302302
go install github.com/AlekSi/gocov-xml@v1.0.0
303303
go install github.com/matm/gocov-html@v0.0.0-20200509184451-71874e2e203b
304304

0 commit comments

Comments
 (0)