schnutibox/vendor/go.xsfx.dev/logginghandler/.drone.yml

35 lines
563 B
YAML
Raw Normal View History

2021-05-03 14:51:53 +02:00
---
kind: pipeline
name: default
type: docker
steps:
- name: fetch
image: alpine/git
commands:
- git fetch --tags
- name: test
image: golang
commands:
- make test
- name: lint
image: golangci/golangci-lint:v1.31-alpine
commands:
- apk add --no-cache make
- make lint
- name: release
image: golang
environment:
GITEA_TOKEN:
from_secret: gitea_token
commands:
- curl -sL https://git.io/goreleaser | bash
depends_on:
- test
- lint
when:
event: tag