Move to woodpecker #5
17
.drone.yml
17
.drone.yml
|
@ -1,17 +0,0 @@
|
||||||
---
|
|
||||||
kind: pipeline
|
|
||||||
name: compliance
|
|
||||||
trigger:
|
|
||||||
event:
|
|
||||||
- pull_request
|
|
||||||
steps:
|
|
||||||
- name: build
|
|
||||||
pull: always
|
|
||||||
image: golang:1.16
|
|
||||||
commands:
|
|
||||||
- make test
|
|
||||||
- name: check
|
|
||||||
pull: always
|
|
||||||
image: golang:1.16
|
|
||||||
commands:
|
|
||||||
- make vet
|
|
|
@ -0,0 +1,8 @@
|
||||||
|
pipeline:
|
||||||
|
compliance:
|
||||||
|
image: golang:1.17
|
||||||
|
commands:
|
||||||
|
- go test -race ./...
|
||||||
|
- go vet ./...
|
||||||
|
when:
|
||||||
|
event: [ pull_request ]
|
Loading…
Reference in New Issue