fortlit/.drone.yml

28 lines
528 B
YAML

---
kind: pipeline
type: docker
steps:
- name: test
image: golang:1.13
commands:
- make test
- name: lint
image: golangci/golangci-lint:v1.23-alpine
commands:
- apk add --no-cache make
- make lint
- name: build
image: golang:1.13
commands:
- go get -u github.com/mitchellh/gox
- make build
- name: publish
image: plugins/github-release
settings:
api_key:
from_secret: github_token
files:
- fortlit-go_*
when:
event: tag