Skip to content

Commit 092a214

Browse files
committed
feat: Add Drone Configuration
1 parent dad13b5 commit 092a214

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.drone.yml

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
kind: pipeline
3+
name: default
4+
type: docker
5+
6+
steps:
7+
- name: lint
8+
image: golangci/golangci-lint
9+
commands:
10+
- golangci-lint run --enable-all
11+
- name: test
12+
image: golang
13+
commands:
14+
- go test -v ./... -covermode=atomic -coverprofile=coverage.out
15+
- name: coverage
16+
image: plugins/codecov
17+
settings:
18+
token:
19+
from_secret: codecov_token
20+
files:
21+
- coverage.out

0 commit comments

Comments
 (0)