mirror of
https://github.com/ysoftdevs/gardener-extension-shoot-fleet-agent.git
synced 2026-03-18 23:34:20 +01:00
20 lines
459 B
YAML
20 lines
459 B
YAML
steps:
|
|
- task: GoTool@0
|
|
inputs:
|
|
version: $(go_version)
|
|
- task: Bash@3
|
|
inputs:
|
|
targetType: inline
|
|
script: |
|
|
mkdir -p "$(GOBIN)"
|
|
mkdir -p "$(GOPATH)/pkg"
|
|
mkdir -p "$(modulePath)"
|
|
shopt -s extglob
|
|
mv !(gopath) "$(modulePath)"
|
|
displayName: "Setup Go Workspace"
|
|
- script: |
|
|
go get -t -v ./...
|
|
go test -race ./...
|
|
workingDirectory: "$(modulePath)"
|
|
displayName: "Tests"
|