From 3a0bd60a5485832cf58080113d4a51fabda2c0ad Mon Sep 17 00:00:00 2001 From: kaiyou <dev@kaiyou.fr> Date: Sun, 23 Oct 2022 19:54:11 +0200 Subject: [PATCH] Enable gitlab ci cache for go deps --- .gitlab-ci.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c9bc5b7..6a83d4f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -11,5 +11,10 @@ compile: artifacts: paths: - hepto - - + variables: + GOPATH: $CI_PROJECT_DIR/.go + before_script: + - mkdir -p .go + cachew: + paths: + - .go/pkg/mod/ -- GitLab