workspace: base: /srv/app path: src/code.gitea.io/sdk pipeline: testing: image: webhippie/golang:latest pull: true commands: - make clean - make vet - make lint - make test - make build coverage: image: plugins/coverage server: https://coverage.gitea.io discord: image: appleboy/drone-discord webhook_id: ${WEBHOOK_ID} webhook_token: ${WEBHOOK_TOKEN} when: event: [ push, tag, pull_request ] status: [ changed, failure ]