try adding the go cache
ci/woodpecker/push/woodpecker Pipeline was successful
Details
ci/woodpecker/push/woodpecker Pipeline was successful
Details
This commit is contained in:
parent
fa3f438d08
commit
cfd0521589
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue