ci: use persisted cache files during verify phase

.

Change-Id: If8af41fd4e3df1d04fef50d9fa53d2038c7d6cc4
This commit is contained in:
Márton Elek 2022-07-06 09:33:26 +02:00 committed by Elek, Márton
parent cf12802a12
commit 95d85c640c

View File

@ -4,7 +4,7 @@ pipeline {
label 'main'
image 'storjlabs/ci:latest'
alwaysPull true
args '-u root:root --cap-add SYS_PTRACE -v "/tmp/gomod":/go/pkg/mod -v "/tmp/npm":/npm --tmpfs "/tmp:exec,mode=777"'
args '-u root:root --cap-add SYS_PTRACE -v "/tmp/gomod":/go/pkg/mod -v /tmp/golangci-lint:/root/.cache/golangci-lint -v /tmp/gocache:/root/.cache/go-build -v "/tmp/npm":/npm'
}
}
options {