chizap/.drone.yml
Dawid Wysokiński d6f9376aaf
All checks were successful
continuous-integration/drone/push Build is passing
add .drone.yml (#2)
Reviewed-on: #2
2022-09-16 14:14:31 +00:00

37 lines
496 B
YAML

---
kind: pipeline
type: docker
name: test
steps:
- name: test
image: golang:1.19
commands:
- go test -race -coverprofile=coverage.txt -covermode=atomic ./...
trigger:
event:
- push
- pull_request
branch:
- master
---
kind: pipeline
type: docker
name: check-go-mod
steps:
- name: check go.mod
image: golang:1.19
commands:
- go mod tidy
- git diff --exit-code go.mod
trigger:
event:
- push
- pull_request
branch:
- master