This commit is contained in:
34
.drone.yml
34
.drone.yml
@@ -35,22 +35,22 @@ steps:
|
||||
- name: cache
|
||||
path: /cache
|
||||
|
||||
- name: test
|
||||
image: golangci/golangci-lint:v1.48.0
|
||||
environment:
|
||||
GOCACHE: /drone/src/gocache
|
||||
GOLANGCI_LINT_CACHE: /drone/src/golangcilintcache
|
||||
commands:
|
||||
- go mod download
|
||||
- make test
|
||||
volumes:
|
||||
- name: gocache
|
||||
path: /drone/src/gocache
|
||||
- name: golangcilintcache
|
||||
path: /drone/src/golangcilintcache
|
||||
resources:
|
||||
limits:
|
||||
memory: 3GiB
|
||||
# - name: test
|
||||
# image: golangci/golangci-lint:v1.48.0
|
||||
# environment:
|
||||
# GOCACHE: /drone/src/gocache
|
||||
# GOLANGCI_LINT_CACHE: /drone/src/golangcilintcache
|
||||
# commands:
|
||||
# - go mod download
|
||||
# - make test
|
||||
# volumes:
|
||||
# - name: gocache
|
||||
# path: /drone/src/gocache
|
||||
# - name: golangcilintcache
|
||||
# path: /drone/src/golangcilintcache
|
||||
# resources:
|
||||
# limits:
|
||||
# memory: 3GiB
|
||||
|
||||
# - name: build
|
||||
# image: golang:1.19
|
||||
@@ -81,4 +81,4 @@ steps:
|
||||
|
||||
---
|
||||
kind: signature
|
||||
hmac: 66758e8e6b7c8dc2533743ec09d5f4b9c0925e98255aa56596c4789e746a97b1
|
||||
hmac: 72c8da7f0ce9f1fb382518c5b2efcbc8e83d88485c991ac54184db7596ce2235
|
||||
Reference in New Issue
Block a user