shorten feedback loop
This commit is contained in:
parent
aa7856ea7b
commit
8e2fc7264b
13
.drone.yml
13
.drone.yml
@ -15,13 +15,24 @@ steps:
|
||||
- push
|
||||
- pull_request
|
||||
- tag
|
||||
- name: build-dev
|
||||
image: golang:1.18.3-alpine3.16
|
||||
commands:
|
||||
- "apk add --update --no-cache make"
|
||||
- "make build"
|
||||
when:
|
||||
event:
|
||||
- push
|
||||
resources:
|
||||
limits:
|
||||
cpu: 1000
|
||||
memory: 1024MiB
|
||||
- name: build
|
||||
image: goreleaser/goreleaser
|
||||
commands:
|
||||
- goreleaser build --snapshot
|
||||
when:
|
||||
event:
|
||||
- push
|
||||
- pull_request
|
||||
resources:
|
||||
limits:
|
||||
|
Loading…
Reference in New Issue
Block a user