Skip to content
Permalink
Browse files

Drone with gomodules cache

  • Loading branch information...
Depado committed Apr 2, 2019
1 parent 446c2db commit aa70272802d3524f04a7819097d6a10ca924366d
Showing with 23 additions and 9 deletions.
  1. +22 −7 .drone.yml
  2. +1 −2 README.md
@@ -5,16 +5,31 @@ name: default
steps:
- name: build
image: golang:latest
pull: always
volumes:
- name: deps
path: /go
commands:
- make
environment:
GO111MODULE: "on"

- name: test
image: golang:latest
volumes:
- name: deps
path: /go
commands:
- make test

- name: linter
image: golang:latest
volumes:
- name: deps
path: /go
commands:
- go get -u github.com/golangci/golangci-lint/cmd/golangci-lint
- golangci-lint run
environment:
GO111MODULE: "off"
- curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s v1.16.0
- ./bin/golangci-lint --version
- ./bin/golangci-lint run

volumes:
- name: deps
host:
path: /var/lib/cache/godeps/
@@ -22,7 +22,6 @@
- [Download](#download)
- [Build from source](#build-from-source)
- [Usage](#usage)
- [Commands](#commands)
- [Keeping the template](#keeping-the-template)
- [Examples](#examples)
- [Template Creation](#template-creation)
@@ -37,7 +36,7 @@
- [Standard `.quokka.yml` files](#standard-quokkayml-files)
- [Per-file configuration](#per-file-configuration)
- [Conditional Rendering/Copy](#conditional-renderingcopy)
- [After render commands](#after-render-commands)
<!-- - [After render commands](#after-render-commands) -->

# Introduction

0 comments on commit aa70272

Please sign in to comment.
You can’t perform that action at this time.