File tree Expand file tree Collapse file tree 1 file changed +3
-30
lines changed Expand file tree Collapse file tree 1 file changed +3
-30
lines changed Original file line number Diff line number Diff line change @@ -45,33 +45,6 @@ extends:
45
45
submodules : false
46
46
retryCountOnTaskFailure : 3
47
47
48
- - task : NodeTool@0
49
- inputs :
50
- versionSpec : 20.x
51
- displayName : ' Install Node'
52
-
53
- - bash : |
54
- npm install -g `node -e 'console.log(JSON.parse(fs.readFileSync("package.json", "utf8")).packageManager)'`
55
- npm --version
56
- displayName: 'Install packageManager from package.json'
57
-
58
- # Do --ignore-scripts for now to avoid needing to install/build rust.
59
- - bash : npm ci --ignore-scripts
60
- displayName : ' npm ci'
61
-
62
- - bash : |
63
- set -euo pipefail
64
- version=$(grep -oP '^go \K[0-9]+\.[0-9]+' go.mod)
65
- curl -SL -o '$(Agent.BuildDirectory)/golang.tar.gz' https://aka.ms/golang/release/latest/go${version}.linux-amd64.tar.gz
66
- tar -C '$(Agent.BuildDirectory)' -xzf '$(Agent.BuildDirectory)/golang.tar.gz'
67
- rm -f '$(Agent.BuildDirectory)/golang.tar.gz'
68
- echo '##vso[task.prependpath]$(Agent.BuildDirectory)/go/bin'
69
- displayName: 'Install Go'
70
-
71
- - bash : |
72
- which go
73
- go version
74
- displayName: 'Check Go version'
75
-
76
- - bash : npx hereby build
77
- displayName : ' Build'
48
+ - task : ComponentGovernanceComponentDetection@0
49
+ condition : succeededOrFailed()
50
+ continueOnError : True
You can’t perform that action at this time.
0 commit comments