1
0
Fork 0

🎨 Format Drone config

This commit is contained in:
Maxim Lebedev 2021-08-05 15:55:07 +05:00
parent d059d17355
commit 3b91265497
Signed by: toby3d
GPG Key ID: 1F14E25B7C119FC5
1 changed files with 27 additions and 20 deletions

View File

@ -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: {}