terraform-provider-gitea/.drone.yml
Tobias Trabelsi be37dde5a0
Some checks reported errors
continuous-integration/drone/push Build encountered an error
added make to drone build
2022-06-04 17:19:50 +02:00

34 lines
629 B
YAML

---
kind: pipeline
type: kubernetes
name: terraform-provider-gitea
platform:
os: linux
arch: amd64
steps:
- name: init
image: golang:1.18.3-alpine3.16
commands:
- "go mod download"
when:
event:
- push
- pull_request
- name: build
image: golang:1.18.3-alpine3.16
commands:
- "apk add --update --no-cache make"
- "make build"
when:
event:
- push
- pull_request
- name: test
image: golang:1.18.3-alpine3.16
commands:
- "apk add --update --no-cache make"
- "make test"
when:
event:
- push
- pull_request