From 3b9126549731109af413f75a5b2d8b24b058cd3c Mon Sep 17 00:00:00 2001 From: Maxim Lebedev Date: Thu, 5 Aug 2021 15:55:07 +0500 Subject: [PATCH] :art: Format Drone config --- .drone.yml | 47 +++++++++++++++++++++++++++-------------------- 1 file changed, 27 insertions(+), 20 deletions(-) diff --git a/.drone.yml b/.drone.yml index 521ea70..a129c53 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,24 +1,31 @@ --- -name: default -type: docker kind: pipeline +type: docker +name: default + +platform: + os: linux + arch: amd64 + steps: - - name: test - image: golang - volumes: - - name: deps - path: /go - commands: - - go test -v -cover -race ./... - - name: lint - image: golang - volumes: - - name: deps - path: /go - commands: - - wget -O- -nv https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.41.1 - - ./bin/golangci-lint run - failure: ignore -volumes: +- name: test + image: golang + commands: + - go test -v -cover -race ./... + volumes: - name: deps - temp: {} + path: /go + +- name: lint + image: golang + commands: + - wget -O- -nv https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.41.1 + - ./bin/golangci-lint run + failure: ignore + volumes: + - name: deps + path: /go + +volumes: +- name: deps + temp: {}