mirror of
https://github.com/FairwindsOps/polaris.git
synced 2026-05-13 12:47:12 +00:00
copy config.yaml to docker image enable external usage of dashboard package gofmt fix comment use packr for assets add gobuffalo/packr dependency add dependencies fix pointer issues add output-file option
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"
|