sec/.drone.yml
Stanislav N. aka pztrn d11add902d
All checks were successful
continuous-integration/drone/push Build is passing
-mod=vendor should not be used in CI.
2022-06-29 16:17:54 +05:00

20 lines
377 B
YAML

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