Fix droen
This commit is contained in:
parent
f48b50c940
commit
0f029ce50a
10
.drone.yml
10
.drone.yml
|
@ -8,7 +8,7 @@ steps:
|
||||||
settings:
|
settings:
|
||||||
backend: "filesystem"
|
backend: "filesystem"
|
||||||
restore: true
|
restore: true
|
||||||
cache_key: "volume"
|
cache_key: '{{ .Repo.Name }}_{{ checksum "go.mod" }}_{{ checksum "go.sum" }}_{{ arch }}_{{ os }}'
|
||||||
archive_format: "gzip"
|
archive_format: "gzip"
|
||||||
mount:
|
mount:
|
||||||
- pkg.mod
|
- pkg.mod
|
||||||
|
@ -29,6 +29,9 @@ steps:
|
||||||
- make vet
|
- make vet
|
||||||
- make test
|
- make test
|
||||||
- make fmt-check
|
- make fmt-check
|
||||||
|
volumes:
|
||||||
|
- name: cache
|
||||||
|
path: /go
|
||||||
when:
|
when:
|
||||||
event:
|
event:
|
||||||
- push
|
- push
|
||||||
|
@ -40,7 +43,7 @@ steps:
|
||||||
settings:
|
settings:
|
||||||
backend: "filesystem"
|
backend: "filesystem"
|
||||||
rebuild: true
|
rebuild: true
|
||||||
cache_key: "volume"
|
cache_key: '{{ .Repo.Name }}_{{ checksum "go.mod" }}_{{ checksum "go.sum" }}_{{ arch }}_{{ os }}'
|
||||||
archive_format: "gzip"
|
archive_format: "gzip"
|
||||||
mount:
|
mount:
|
||||||
- pkg.mod
|
- pkg.mod
|
||||||
|
@ -51,8 +54,7 @@ steps:
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: cache
|
- name: cache
|
||||||
host:
|
temp: {}
|
||||||
path: /var/lib/cache
|
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
|
|
Loading…
Reference in New Issue