try adding the go cache
ci/woodpecker/push/woodpecker Pipeline was successful Details

This commit is contained in:
Landon Dyck 2022-02-15 12:15:40 -06:00
parent fa3f438d08
commit cfd0521589
1 changed files with 6 additions and 0 deletions

View File

@ -2,6 +2,8 @@ pipeline:
lint:
image: golangci/golangci-lint
pull: true
volumes:
- go-cache:/go
commands:
- go get -v ./...
- golangci-lint run
@ -9,11 +11,15 @@ pipeline:
test:
image: golang:1.17
pull: true
volumes:
- go-cache:/go
commands:
- go test -v ./...
deploy:
image: golang:1.17
volumes:
- go-cache:/go
commands:
- apt-get update && apt-get install -y rsync
- echo "$PRIVATE_KEY" | tr '_' '\n' > ./id_ci && chmod 600 ./id_ci