From d8a73c9d33318473ddc350019e78d3bf1ffe8ffa Mon Sep 17 00:00:00 2001 From: Noam Gal Date: Tue, 17 Oct 2023 13:00:57 +0300 Subject: [PATCH] removed `go download` lint step will run `go mod tidy` Signed-off-by: Noam Gal --- build/ci.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/build/ci.yml b/build/ci.yml index c1909bee..c5d353b1 100644 --- a/build/ci.yml +++ b/build/ci.yml @@ -18,7 +18,7 @@ steps: prepare_env_vars: &deps stage: Prepare - title: prepare-env & download modules + title: prepare-env image: quay.io/codefresh/golang-ci-helper:1.21.1 commands: - cf_export GO111MODULE=on @@ -31,16 +31,15 @@ steps: on: - success - download_modules: + clean: <<: *deps stage: Prepare - title: download modules + title: clean commands: - - go mod download -x - make clean when: steps: - - name: prepare_env_vars + - name: main_clone on: - success @@ -53,7 +52,10 @@ steps: - make check-worktree when: steps: - - name: download_modules + - name: prepare_env_vars + on: + - success + - name: clean on: - success