mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-20 08:35:09 +00:00
Update Go to 1.16.7 and run "go mod tidy" to clean up go modules in samples. Signed-off-by: David Enyeart <enyeart@us.ibm.com>
21 lines
491 B
YAML
21 lines
491 B
YAML
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
steps:
|
|
- script: ./startFabric.sh go
|
|
workingDirectory: fabcar
|
|
displayName: Start Fabric
|
|
- task: GoTool@0
|
|
displayName: 'Use Go 1.16.7'
|
|
inputs:
|
|
version: '1.16.7'
|
|
- task: Go@0
|
|
displayName: 'go build'
|
|
inputs:
|
|
command: build
|
|
arguments: '-o "fabcar"'
|
|
workingDirectory: fabcar/go
|
|
- script: DISCOVERY_AS_LOCALHOST=TRUE ./fabcar
|
|
workingDirectory: fabcar/go
|
|
displayName: Run FabCar Application
|