fortlit/.drone.yml
Marvin Steadfast 7911d9254b
All checks were successful
continuous-integration/drone/push Build is passing
fixes drone publish dependency
2021-03-03 14:11:35 +01:00

40 lines
659 B
YAML

---
kind: pipeline
name: default
steps:
- name: tags
image: alpine/git
commands:
- git fetch --tags
- name: lint
image: golangci/golangci-lint:latest
commands:
- make lint
- name: test
image: golang:latest
commands:
- make test
- name: build
image: goreleaser/goreleaser:latest
commands:
- make build
when:
event:
exclude:
- tag
- name: release
image: goreleaser/goreleaser:latest
environment:
GITHUB_TOKEN:
from_secret: github_token
commands:
- goreleaser release --rm-dist --parallelism=1
when:
event:
- tag