ci: uses no caching plugin
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline was successful

This commit is contained in:
Marvin Preuss 2022-01-31 10:11:59 +01:00
parent a1fed7f742
commit c498789617

View File

@ -1,37 +1,22 @@
pipeline:
restore-cache:
image: meltwater/drone-cache
settings:
backend: filesystem
restore: true
cache_key: volume
archive_format: gzip
mount:
- /usr
volumes:
- /tmp/drone-cache:/tmp/cache
install-deps:
image: golang:1.17-alpine-alpine
commands:
- apk add --no-cache build-base git
tags:
image: alpine/git
commands:
- git fetch --tags
lint:
image: golang:1.17-alpine
image: golang:1.17
commands:
- make lint
test:
image: golang:1.17-alpine
image: golang:1.17
commands:
- make test
build:
image: golang:1.17-alpine
image: golang:1.17
commands:
- make build
release:
image: golang:1.17-alpine
image: golang:1.17
commands:
- make release
secrets:
@ -39,14 +24,3 @@ pipeline:
when:
event:
- tag
rebuild-cache:
image: meltwater/drone-cache
settings:
backend: filesystem
rebuild: true
cache_key: volume
archive_format: gzip
mount:
- /usr
volumes:
- /tmp/drone-cache:/tmp/cache