summaryrefslogtreecommitdiffhomepage
path: root/.drone.yml
diff options
context:
space:
mode:
Diffstat (limited to '.drone.yml')
-rw-r--r--.drone.yml9
1 files changed, 8 insertions, 1 deletions
diff --git a/.drone.yml b/.drone.yml
index e58ab2f..5926842 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -7,6 +7,13 @@ common: &common
- go build -v -o "${DRONE_REPO_NAME}-$${GOOS}-$${GOARCH}" -ldflags "-s -w"
steps:
+- name: prepare-templates
+ image: golang:alpine
+ commands:
+ - apk add --no-cache git
+ - go get github.com/valyala/quicktemplate/qtc
+ - "${{GOPATH}}/bin/qtc"
+
- name: build-linux-amd64
<<: *common
environment:
@@ -58,7 +65,7 @@ steps:
- name: test
image: golang:alpine
commands:
- - apk add gcc musl-dev # apparently still needed
+ - apk add --no-cache gcc musl-dev # apparently still needed
- go test -v ./...
- name: deploy