shorten feedback loop
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing

This commit is contained in:
Tobias Trabelsi 2022-08-13 22:45:54 +02:00
parent aa7856ea7b
commit 8e2fc7264b
Signed by: lerentis
GPG Key ID: FF0C2839718CAF2E

View File

@ -15,13 +15,24 @@ steps:
- push - push
- pull_request - pull_request
- tag - 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 - name: build
image: goreleaser/goreleaser image: goreleaser/goreleaser
commands: commands:
- goreleaser build --snapshot - goreleaser build --snapshot
when: when:
event: event:
- push
- pull_request - pull_request
resources: resources:
limits: limits: