diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ac11b450..d27fa2aa 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -85,11 +85,17 @@ dependency-updates: stage: build only: - branches + before_script: + - mkdir -p .cache/bin + - export PATH=$(pwd)/.cache/bin:$PATH + - export GOPATH="$CI_PROJECT_DIR/.cache" script: - make build + - git diff && git diff-index --quiet HEAD artifacts: - # Note: The latest artifacts for refs are locked against deletion, and kept regardless of the expiry time. - # Introduced in GitLab 13.0 behind a disabled feature flag, and made the default behavior in GitLab 13.4. + # Note: The latest artifacts for refs are locked against deletion, and kept + # regardless of the expiry time. Introduced in GitLab 13.0 behind a + # disabled feature flag, and made the default behavior in GitLab 13.4. expire_in: 1 day tags: - large