Browse Source

added ci

Signed-off-by: gryffyn <me@neveris.one>
main
gryffyn 5 months ago
parent
commit
90d47040d6
Signed by: gryffyn GPG Key ID: 6948DD6514D02BEF
  1. 33
      .drone.yml

33
.drone.yml

@ -0,0 +1,33 @@
kind: pipeline
name: default
type: docker
steps:
- name: lint
image: golang
failure: ignore
commands:
- wget -O- -nv https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.41.1
- golangci-lint run
- name: test
image: golang
commands:
- go test
- name: build
image: golang
commands:
- go build
- name: gitea_release
image: plugins/gitea-release
settings:
title: ${DRONE_TAG} Release
note: CHANGELOG.md
api_key:
from_secret: gitea_token
base_url: https://git.neveris.one
files: genca
checksum:
- sha256
when:
event: tag
Loading…
Cancel
Save