From ebda08c531f883717fad9ac29a9ab944ef92daba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mikl=C3=B3s=20T=C3=B3th?= <tothmiklostibor@gmail.com> Date: Thu, 11 Nov 2021 12:53:42 +0100 Subject: [PATCH] Add CI caching --- .gitlab-ci.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 69807ab..ca557d6 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,5 +1,13 @@ image: golang:alpine +variables: + GOPATH: /cache/go + GOCACHE: /cache/gocache + FF_USE_FASTZIP: "true" + ARTIFACT_COMPRESSION_LEVEL: fastest + CACHE_COMPRESSION_LEVEL: fastest + TRANSFER_METER_FREQUENCY: 5s + stages: - test - build -- GitLab