Add Drone CI configuration.

master
Stanislav Nikitin 5 months ago
parent aefadf275b
commit b1c765ed4c
Signed by: pztrn
GPG Key ID: 1E944A0F0568B550
  1. 21
      .drone.yml
  2. 1
      .gitignore

@ -0,0 +1,21 @@
---
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 ./...

1
.gitignore vendored

@ -0,0 +1 @@
*DS_Store*
Loading…
Cancel
Save