glp/.drone.yml
Stanislav N. aka pztrn b1c765ed4c
All checks were successful
continuous-integration/drone/push Build is passing
Add Drone CI configuration.
2022-06-29 00:18:25 +05:00

22 lines
439 B
YAML

---
kind: pipeline
type: docker
name: lint and test
steps:
- name: lint
image: code.pztrn.name/containers/mirror/golangci/golangci-lint:v1.46.2
pull: if-not-exists
environment:
CGO_ENABLED: 0
commands:
- golangci-lint run ./...
- name: test
image: code.pztrn.name/containers/mirror/golang:1.18.3-alpine
pull: if-not-exists
environment:
CGO_ENABLED: 0
commands:
- go test ./...