qaskx.template/_generator/default/build/definitions/woodpecker/woodpecker.yaml

14 lines
369 B
YAML

# Woodpecker CI definition for CI# {{.Redi.Asset.Id}} (from RediOps)
# Name: {{.Redi.Name}}
# Organisation: {{.Redi.Organisation}}
# Git repository: {{.Redi.Repository.Source.Url}}
steps:
build:
image: golang:1.17
commands:
- go download
- go get
- go build -o {{.ExecutableName}} .\...
# Optional: Run go tests
- go test .\...