glox/.drone.yml
Fabian Becker 9f807afe1c
Some checks failed
continuous-integration/drone/push Build is failing
Move go get to go install
2022-01-12 11:01:16 +01:00

34 lines
519 B
YAML

kind: pipeline
type: docker
name: default
steps:
- name: lint
image: golang
volumes:
- name: deps
path: /go
commands:
- go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest
- golangci-lint run
- name: test
image: golang
volumes:
- name: deps
path: /go
commands:
- go test
- name: build
image: golang
volumes:
- name: deps
path: /go
commands:
- go build
volumes:
- name: deps
temp: {}