File tree Expand file tree Collapse file tree 2 files changed +17
-6
lines changed
eng/pipelines/templates/variables Expand file tree Collapse file tree 2 files changed +17
-6
lines changed Original file line number Diff line number Diff line change @@ -29,12 +29,19 @@ jobs:
29
29
name : $(pool.name)
30
30
31
31
variables :
32
- GOPATH : ' $(system.defaultWorkingDirectory)/work'
33
- sdkPath : ' $(GOPATH)/src/github.com/$(build.repository.name)'
34
- GO111MODULE : ' off'
35
- IGNORE_BREAKING_CHANGES : true
36
- go.list.filter : ' profiles services storage'
37
- go.test.filter : ' -path ./vendor -prune -o -path ./sdk -prune -o -path ./eng -prune -o'
32
+ - template : ../variables/globals.yml
33
+ - name : GOPATH
34
+ value : ' $(system.defaultWorkingDirectory)/work'
35
+ - name : sdkPath
36
+ value : ' $(GOPATH)/src/github.com/$(build.repository.name)'
37
+ - name : GO111MODULE
38
+ value : ' off'
39
+ - name : IGNORE_BREAKING_CHANGES
40
+ value : ' true'
41
+ - name : go.list.filter
42
+ value : ' profiles services storage'
43
+ - name : go.test.filter
44
+ value : ' -path ./vendor -prune -o -path ./sdk -prune -o -path ./eng -prune -o'
38
45
39
46
steps :
40
47
- task : GoTool@0
Original file line number Diff line number Diff line change 1
1
variables :
2
2
GoLintCLIVersion : ' v1.45.2'
3
3
Package.EnableSBOMSigning : true
4
+ # Enable go native component governance detection
5
+ # https://docs.opensource.microsoft.com/tools/cg/index.html
6
+ # https://github.com/microsoft/component-detection/blob/main/src/Microsoft.ComponentDetection.Detectors/go/GoComponentDetector.cs
7
+ EnableGoCliScan : true
You can’t perform that action at this time.
0 commit comments