fortlit/.drone.yml
Marvin Steadfast 08e2c5e5fc
Some checks reported errors
continuous-integration/drone/push Build encountered an error
finally pterm based refactoring
needed to drop the approach to print the quote in a terminal box.
2021-03-03 14:03:18 +01:00

43 lines
708 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
depends_on:
- submodules
- clean
when:
event:
- tag